summaryrefslogtreecommitdiff
path: root/builtin/blame.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-09-19 18:38:32 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-09-19 18:38:32 (GMT)
commitceeacc501bc64dcdff180a9250bf2fcea3582837 (patch)
tree5934e97fc45082bc333c21e7dac5ca936112306a /builtin/blame.c
parenta60f434e20083e94a33614c36626d97be79d5dd0 (diff)
parent466fb6742d7fb7d3e6994b2d0d8db83a8786ebcf (diff)
downloadgit-ceeacc501bc64dcdff180a9250bf2fcea3582837.zip
git-ceeacc501bc64dcdff180a9250bf2fcea3582837.tar.gz
git-ceeacc501bc64dcdff180a9250bf2fcea3582837.tar.bz2
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/blame.c')
-rw-r--r--builtin/blame.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/builtin/blame.c b/builtin/blame.c
index ca4ba6f..3838be2 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;