bug-coreutils
[Top][All Lists]
Advanced

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

Re: date command


From: Jim Meyering
Subject: Re: date command
Date: Fri, 01 Feb 2008 09:24:48 +0100

Felix Joussein <address@hidden> wrote:
> Hello Jim,

Hi Felix,

Thanks for the report.
It would probably have been resolved by now (10 hours later)
if you had sent it to the bug-reporting/discussion list rather
than just to me.  I'm forwarding it there now.

> within a project which is related to date/time opeartions I was about to
> rebuild system which was originaly based on Ret Hat 7.2 Linux to
> Debian/Etch.
> The project is almost done when I tried out the following with the date
> command from Debian/Etch:
>     date -s '01/31/2008 14:20:60' -> Invalid date
> using the date command from the former Red Hat 7.2
>     date -s '01/31/2008 14:20:60' -> Working
>
> Apperarently the new date command from Debian/Etch which is of the version
> /bin/date --version
> date (GNU coreutils) 5.97
> Copyright © 2006 Free Software Foundation, Inc.
> Dieses Programm ist freie Software. Sie dürfen Kopien davon weitergeben
> gemäß
> der GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
> Es gibt KEINERLEI GARANTIE, so weit das Gesetz es erlaubt.
>
> Geschrieben von David MacKenzie.
>
> has problems to interpret the 60th second, whereas the date command from
> Red Hat 7.1, which is of the version
>
> /usr/local/bin/date --version
> date (GNU sh-utils) 2.0
> Written by David MacKenzie.
>
> Copyright (C) 1999 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> does it perfectly.
>
> Basicaly the goal ist, to set back the time at a certain moment for 1
> Second. It's all about the leap-second which might be set every last
> second of the 31th of dec. or 30th of june...
> Doing this with the new date command the time is set back to 2 seconds
> rather then one... with the old date command using the minute's 60st
> second a step-back for one second is possible.
>
> Do you have any idea how this may happen?
>
> Regads and thanks for your help,
>
> --
> mit freundlichen Grüßen
>
> Felix Joussein
>
> Integrated Network Design
> Firma Felix Joussein
> address@hidden




reply via email to

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