GNU bug report logs - #17600
Maybe a bug of `date`

Previous Next

Package: coreutils;

Reported by: HoHo Zhao <hzhao <at> redhat.com>

Date: Mon, 26 May 2014 15:46:01 UTC

Severity: normal

Tags: notabug

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #21 received at 17600 <at> debbugs.gnu.org (full text, mbox):

From: HoHo Zhao <hzhao <at> redhat.com>
To: Bob Proulx <bob <at> proulx.com>, 17600 <at> debbugs.gnu.org
Subject: Re: bug#17600: Maybe a bug of `date`
Date: Tue, 27 May 2014 11:17:38 +0800
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




This bug report was last modified 10 years and 363 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.