LoginSignup
3
3

More than 3 years have passed since last update.

How to Show Date of "git log" as ISO Format

Last updated at Posted at 2016-06-20

"Friday" って2月だっけ……。みたいに英語が苦手なので……。

% git config --global log.date iso

こう設定すると、日付の表示が以下のようになります。

% git log
commit c625884070c943f3badf3ee6f853c9bf6fb8e41d
Author: maangie <maangie@example.com>
Date:   2016-06-20 18:23:49 +0900

    First Commit

追記(2021/01/12)

git のバージョンが上がったせいかな?

日付の出力が GMT になってたので、以下のようにしました。

% git config --global log.date iso-local

以下のページを参考にしました。

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3