@matheusbsbs / matheus-bagliano / commits / 0cc4da3036
Fork 0

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>

Brandon Casey committed Jul 6, 2010 at 18:34 UTC 0cc4da303641611e8d9cc431e7b4d3f1a6a0dc86
1 file changed +1 -1
t/t0006-date.sh
+1 -1
@@ -39,7 +39,7 @@ check_parse 2008-02 bad
39 check_parse 2008-02-14 bad
40 check_parse '2008-02-14 20:30:45' '2008-02-14 20:30:45 +0000'
41 check_parse '2008-02-14 20:30:45 -0500' '2008-02-14 20:30:45 -0500'
42 -check_parse '2008-02-14 20:30:45' '2008-02-14 20:30:45 -0500' EST
42 +check_parse '2008-02-14 20:30:45' '2008-02-14 20:30:45 -0500' EST5
43
44 check_approxidate() {
45 echo "$1 -> $2 +0000" >expect