aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-10-05 12:36:22 -0700
committerJunio C Hamano <gitster@pobox.com>2011-10-05 12:36:22 -0700
commit5c5845eb01c05830270bbb5cf3668891e48629df (patch)
tree1de04e2b6ebfbf48dd4d67b2fd6a9eb4a211f9f1 /t
parenteb0e0dd5e6be4ce1254d200efe473ca7f56bca10 (diff)
parentee646eb48f9a7fc6c225facf2b7449a8a65ef8f2 (diff)
downloadgit-5c5845eb01c05830270bbb5cf3668891e48629df.tar.gz
git-5c5845eb01c05830270bbb5cf3668891e48629df.tar.xz
Merge branch 'hl/iso8601-more-zone-formats'
* 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 f87abb5a0..1d29810a7 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() {