summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-10-26 16:11:28 -0700
committerJunio C Hamano <gitster@pobox.com>2011-10-26 16:11:28 -0700
commit1f7a2abcc18ec1080905dc5cd59381f7ac1c8111 (patch)
tree9264980e7165c0ee6bf550176ef75fe0a7ecd297 /t
parent588150b0231ee342ed528292a2205f4049b3dcb1 (diff)
parentee646eb48f9a7fc6c225facf2b7449a8a65ef8f2 (diff)
downloadgit-1f7a2abcc18ec1080905dc5cd59381f7ac1c8111.tar.gz
Merge branch 'hl/iso8601-more-zone-formats' into maint-1.7.6
* hl/iso8601-more-zone-formats: date.c: Support iso8601 timezone formats
Diffstat (limited to 't')
-rwxr-xr-xt/t0006-date.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t0006-date.sh b/t/t0006-date.sh
index f87abb5a06..1d29810a7a 100755
--- a/t/t0006-date.sh
+++ b/t/t0006-date.sh
@@ -40,6 +40,12 @@ check_parse 2008-02 bad
check_parse 2008-02-14 bad
check_parse '2008-02-14 20:30:45' '2008-02-14 20:30:45 +0000'
check_parse '2008-02-14 20:30:45 -0500' '2008-02-14 20:30:45 -0500'
+check_parse '2008-02-14 20:30:45 -0015' '2008-02-14 20:30:45 -0015'
+check_parse '2008-02-14 20:30:45 -5' '2008-02-14 20:30:45 +0000'
+check_parse '2008-02-14 20:30:45 -5:' '2008-02-14 20:30:45 +0000'
+check_parse '2008-02-14 20:30:45 -05' '2008-02-14 20:30:45 -0500'
+check_parse '2008-02-14 20:30:45 -:30' '2008-02-14 20:30:45 +0000'
+check_parse '2008-02-14 20:30:45 -05:00' '2008-02-14 20:30:45 -0500'
check_parse '2008-02-14 20:30:45' '2008-02-14 20:30:45 -0500' EST5
check_approxidate() {