bug-coreutils
[Top][All Lists]
Advanced

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

Re: date -d and the leapsecond


From: Paul Eggert
Subject: Re: date -d and the leapsecond
Date: Tue, 03 Jan 2006 10:49:06 -0800
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

"Dr. David Alan Gilbert" <address@hidden> writes:

> Are you sure that whatever change made date stop taking
> the 60 only stopped it on hosts that don't support leap second?

I did verify that it worked on my host, when I configured it for leap
seconds (which I normally don't do):

   521-penguin $ date -d '2005-12-31 15:59:60'
   Sat Dec 31 15:59:60 PST 2005
   522-penguin $ date -d '2005-12-31 15:59:61'
   date: invalid date `2005-12-31 15:59:61'
   523-penguin $ date -d '2004-12-31 15:59:60'
   date: invalid date `2004-12-31 15:59:60'

No doubt there are still bugs in the area, as the code doesn't get
exercised much, but the intent is that it should work.




reply via email to

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