bug-coreutils
[Top][All Lists]
Advanced

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

Re: date 5.2.1 bug(?)


From: Philip Rowlands
Subject: Re: date 5.2.1 bug(?)
Date: Wed, 2 Mar 2005 17:05:41 +0000 (GMT)

On Tue, 1 Mar 2005, Kenny Stauffer wrote:

>The command "date -d a" produces "Mon Feb 28 20:00:00 EST 2005" when
>localtime is "Tue Mar 1 22:55 2005".  "date -d aa" complains that aa is
>an invalid date.  In fact, any single letter except "j" is a valid date.
>Is this a bug, or do I gravely misunderstand date's input format?

It's a valid sub-date; another way to specify timezones. See the "Time
zone items" info page, and this explanation:

http://wwp.greenwichmeantime.com/info/timezone.htm


Cheers,
Phil




reply via email to

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