On Mon, Dec 03, 2012 at 02:44:17AM -0700, Bob Proulx wrote:

Hi,

> > date -d "May 23 1954" and date -d 1954-05-23 both fail in all versions of
> > coreutils 8.x I could try. May 22 and May 24 are OK. Coreutils 7.1 doesn't
> > barf on May 23 either.
> 
> Thank you for the report.  However I was unable to reproduce this
> issue.  Could you say a little more about how to recreate the problem?
> What is your timezone?

Europe/Budapest.

Apparently May 23 1954 was the date something about DST was changed in CET.

date(1)'s behaviour may in fact be correct, but the error message is confusing,
as obviously 1954 did have a May 23 even in Central Europe. :) Maybe
the message could be made more specific? Like "1954-05-23T00:00:00 CET is
invalid due to DST" or similar?

> Please see the FAQ entry which has examples of diagnosing and avoiding
> DST problems:
> 
>   
> http://www.gnu.org/software/coreutils/faq/#The-date-command-is-not-working-right_002e

Thanks, but is there any guarantee that no DST changes will ever cause noon
to be skipped? :)

Andras

-- 
                     Andras Korn <korn at elan.rulez.org>
           Boeing: The sound a plane makes when it hits the ground.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to