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

Bug#257244: /usr/bin/zdump: zdump Foo returns GMT rather than an error.



On Mon, Jul 05, 2004 at 10:26:47AM +0900, GOTO Masanori wrote:
> At Sun, 04 Jul 2004 09:35:05 +1000,
> Robert Collins wrote:
> > I thought I had. Oh well - here's a transcript of a session showing the
> > problem.
> > 
> > robertc@lifelesslap:~$ zdump London
> > London  Sat Jul  3 23:32:51 2004 London
> > robertc@lifelesslap:~$ zdump GB    
> > GB  Sun Jul  4 00:32:56 2004 BST
> > robertc@lifelesslap:~$ zdump BST
> > BST  Sat Jul  3 23:33:02 2004 BST
> > 
> > There is no indication in here which of the three invocation of zdump
> > actually returned useful data. In actual fact, only the zdump GB returns
> > accurate data, the other two calls just return GMT, but not labelleled
> > as such.
> 
> Read tzname(3):
> 
>        If the TZ variable does appear in the environment but its value is NULL
>        or its value cannot be interpreted using any of the  formats  specified
>        below, Coordinated Universal Time (UTC) is used.
> 
> I close this bug as invalid, ok?

I think the behaviour is poor regardless of whether it is documented,
and I certainly don't think the bug is invalid ...

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: