summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Casey <drafnel@gmail.com>2010-07-06 23:34:20 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-07-07 16:13:17 (GMT)
commit0cc4da303641611e8d9cc431e7b4d3f1a6a0dc86 (patch)
tree9ff341bb546a0ba4869a6c0152fb33ecb7d87eae
parent78db709ae59da26de76264b79df3a7dc4d87e65c (diff)
downloadgit-0cc4da303641611e8d9cc431e7b4d3f1a6a0dc86.zip
git-0cc4da303641611e8d9cc431e7b4d3f1a6a0dc86.tar.gz
git-0cc4da303641611e8d9cc431e7b4d3f1a6a0dc86.tar.bz2
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>
-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 b2df4fe..1d4d0a5 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