diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-09-19 11:38:32 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-09-19 11:38:32 -0700 |
commit | ceeacc501bc64dcdff180a9250bf2fcea3582837 (patch) | |
tree | 5934e97fc45082bc333c21e7dac5ca936112306a /builtin | |
parent | Merge branch 'mb/build-contrib-svn-fe' (diff) | |
parent | pretty: provide a strict ISO 8601 date format (diff) | |
download | tgif-ceeacc501bc64dcdff180a9250bf2fcea3582837.tar.xz |
Merge branch 'bb/date-iso-strict'
"log --date=iso" uses a slight variant of ISO 8601 format that is
made more human readable. A new "--date=iso-strict" option gives
datetime output that is more strictly conformant.
* bb/date-iso-strict:
pretty: provide a strict ISO 8601 date format
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/blame.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/builtin/blame.c b/builtin/blame.c index ca4ba6ff15..3838be2b02 100644 --- a/builtin/blame.c +++ b/builtin/blame.c @@ -2580,6 +2580,9 @@ parse_done: case DATE_RFC2822: blame_date_width = sizeof("Thu, 19 Oct 2006 16:00:04 -0700"); break; + case DATE_ISO8601_STRICT: + blame_date_width = sizeof("2006-10-19T16:00:04-07:00"); + break; case DATE_ISO8601: blame_date_width = sizeof("2006-10-19 16:00:04 -0700"); break; |