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: HoHo Zhao
Subject: bug#17600: Maybe a bug of `date`
Date: Tue, 27 May 2014 11:17:38 +0800
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

Thank you Bob. I got it clear.

On 2014/5/27 10:55, Bob Proulx wrote:
> 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
> 
> 

-- 
HoHo Zhao
Regional IT Support
Red Hat Greater China





reply via email to

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