author | Haitao Li <lihaitao@gmail.com> | |
Fri, 9 Sep 2011 10:10:33 +0000 (18:10 +0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 12 Sep 2011 23:49:14 +0000 (16:49 -0700) | ||
commit | ee646eb48f9a7fc6c225facf2b7449a8a65ef8f2 | |
tree | 2a0a2643908b0556fe7e53b5580104183b7170ff | tree | snapshot |
parent | f696543dad6c7ba27b0c4fab167a5687263a9ba0 | commit | diff |
date.c: Support iso8601 timezone formats
Timezone designators in the following formats are all valid according to
ISO8601:2004, section 4.3.2:
[+-]hh, [+-]hhmm, [+-]hh:mm
but we have ignored the ones with colon so far.
Signed-off-by: Haitao Li <lihaitao@gmail.com>
Helped-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Timezone designators in the following formats are all valid according to
ISO8601:2004, section 4.3.2:
[+-]hh, [+-]hhmm, [+-]hh:mm
but we have ignored the ones with colon so far.
Signed-off-by: Haitao Li <lihaitao@gmail.com>
Helped-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
date.c | diff | blob | history | |
t/t0006-date.sh | diff | blob | history |