bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9614: date ignoring wrong TZ values


From: Pádraig Brady
Subject: bug#9614: date ignoring wrong TZ values
Date: Tue, 27 Sep 2011 23:05:24 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0

On 09/27/2011 10:47 PM, Andreas Schwab wrote:
> Pádraig Brady <address@hidden> writes:
> 
>>  $ TZ=NZ+1 date # No zone reported
> 
> This is undefined.  A zone name in a POSIX time zone must have at least
> three letters.

I considered that, but it seems inconsequential in this case.
I'd advise people to stay clear of these abbreviations and offsets completely.

$ TZ=GB-Eire+1 date
Tue Sep 27 22:02:49  2011
$ TZ=Japan+1 date
Tue Sep 27 21:02:54 Japan 2011
$ TZ=Japan date
Wed Sep 28 07:03:53 JST 2011





reply via email to

[Prev in Thread] Current Thread [Next in Thread]