Skip to content

Commit

Permalink
t/t0006: specify timezone as EST5 not EST to comply with POSIX
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
drafnel authored and gitster committed Jul 7, 2010
1 parent 78db709 commit 0cc4da3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t0006-date.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0cc4da3

Please sign in to comment.