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: Sandro Santilli
Subject: bug#9614: date ignoring wrong TZ values
Date: Tue, 27 Sep 2011 16:09:13 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

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





reply via email to

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