GNU bug report logs -
#9614
date: warn on invalid TZ string (was: date ignoring wrong
Previous Next
Full log
View this message in rfc822 format
I've been puzzled by date(1) giving weird results
when setting TZ to values unknown by zoneinfo.
As far as:
$ TZ=Fake date
Tue Sep 27 14:06:32 Fake 2011
It would be more helpful if the command raised an error
or warning about "unknown" timezones rather than giving
random dates.
It's particularly anonying when the same TZ _reported_
by the command isn't recognized in input:
$ date
Tue Sep 27 16:08:13 CEST 2011
$ TZ=CEST date
Tue Sep 27 14:08:13 CEST 2011
Thanks for making a clock available for everyone, btw :)
--strk;
() Free GIS & Flash consultant/developer
/\ http://strk.keybit.net/services.html
This bug report was last modified 6 years and 166 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.