bug-coreutils
[Top][All Lists]
Advanced

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

bug#17600: Maybe a bug of `date`


From: Bob Proulx
Subject: bug#17600: Maybe a bug of `date`
Date: Mon, 26 May 2014 20:55:49 -0600
User-agent: Mutt/1.5.23 (2014-03-12)

HoHo Zhao wrote:
> Wrong:
>       $ TZ=UTC date -d "15:00 CST"   (China Standard Time)
>       Mon May 26 21:00:00 UTC 2014
> 
> So the problem is with "CST" in the date STRING.

CST in the above is being interpreted as US Central Standard Time.
For Central Standard Time it is correct.

CST is one of the ambiguous timezones that Pádraig referred to.  This
is one of the reasons "date -R" with the unambiguous numeric timezones
is the better output format.

Bob





reply via email to

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