summaryrefslogtreecommitdiff
path: root/t/t0006-date.sh
diff options
context:
space:
mode:
authorBrandon Casey <drafnel@gmail.com>2010-07-06 18:34:20 -0500
committerJunio C Hamano <gitster@pobox.com>2010-07-07 09:13:17 -0700
commit0cc4da303641611e8d9cc431e7b4d3f1a6a0dc86 (patch)
tree9ff341bb546a0ba4869a6c0152fb33ecb7d87eae /t/t0006-date.sh
parent78db709ae59da26de76264b79df3a7dc4d87e65c (diff)
downloadgit-0cc4da303641611e8d9cc431e7b4d3f1a6a0dc86.tar.gz
t/t0006: specify timezone as EST5 not EST to comply with POSIX
POSIX requires that both the timezone "standard" and "offset" be specified in the TZ environment variable. This causes a problem on IRIX which does not understand the timezone 'EST'. Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0006-date.sh')
-rwxr-xr-xt/t0006-date.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0006-date.sh b/t/t0006-date.sh
index b2df4fe102..1d4d0a5c7d 100755
--- a/t/t0006-date.sh
+++ b/t/t0006-date.sh
@@ -39,7 +39,7 @@ 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' '2008-02-14 20:30:45 -0500' EST
+check_parse '2008-02-14 20:30:45' '2008-02-14 20:30:45 -0500' EST5
check_approxidate() {
echo "$1 -> $2 +0000" >expect