Skip to content

Commit 0cc4da3

Browse files
drafnelgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 78db709 commit 0cc4da3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t0006-date.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ check_parse 2008-02 bad
3939
check_parse 2008-02-14 bad
4040
check_parse '2008-02-14 20:30:45' '2008-02-14 20:30:45 +0000'
4141
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
4343

4444
check_approxidate() {
4545
echo "$1 -> $2 +0000" >expect

0 commit comments

Comments
 (0)