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: Andreas Schwab
Subject: bug#9614: date ignoring wrong TZ values
Date: Wed, 28 Sep 2011 23:04:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

Sandro Santilli <address@hidden> writes:

> On Wed, Sep 28, 2011 at 12:19:22AM +0200, Andreas Schwab wrote:
>> Pádraig Brady <address@hidden> writes:
>> 
>> > $ TZ=Japan+1 date
>> 
>> This is a well-formed POSIX timezone.
>
> Meaning UTC+1 ?

The timzone name has no meaning, only the offset matters.

>> > $ TZ=Japan date
>> 
>> This is a non-POSIX timezone that happens to match an Olson timezone.
>
> non-POSIX means illegal ?

It means unspecified (but not undefined), ie. the implementation may
reject it or do something sensible.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





reply via email to

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