[Top][All Lists]

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

Re: 'date' displays wrong time?

From: Bob Proulx
Subject: Re: 'date' displays wrong time?
Date: Thu, 6 Feb 2003 20:50:03 -0700
User-agent: Mutt/1.3.28i

Thomas Koeller wrote:
> ~/build/gnu/sh-utils-2.0 $ date -u; date
> Son Feb  2 17:13:49 UTC 2003
> Son Feb  2 18:13:27 CET 2003

That is indeed very bizarre.  I cannot imagine a situation that would
create such behavior.  Can we get a second opinion?  Try this:

  date -u; date;perl -e 'print scalar(localtime(time())), "\n";'

> Is this a bug, or am I missing something? In case it
> matters, I am running Linux kernel version 2.4.20, 
> glibc-2.3.1, date is from sh-utils-2.0:
> ~/build/gnu/sh-utils-2.0 $ date --version
> date (GNU sh-utils) 2.0

Version 2.0 is rather old.  But regardless I have not seen anyone
report such behavior with that version.

If you would be so kind as to test against the current version of date
it would probably help.  The latest release of coreutils is here:



reply via email to

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