Subject: Re: bug#9614: date ignoring wrong TZ values

From: Sandro Santilli <[email-masked]>
Date: Thu, 29 Sep 2011 10:38:58 +0200

On Wed, Sep 28, 2011 at 11:04:11PM +0200, Andreas Schwab wrote:
> Sandro Santilli <[email-masked]> writes:
> 
> > On Wed, Sep 28, 2011 at 12:19:22AM +0200, Andreas Schwab wrote:
> >> Pádraig Brady <[email-masked]> 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.

Offset from which date ?

> >> > $ 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.

So it can also print a warning ?

--strk; 

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html