bug-sh-utils
[Top][All Lists]
Advanced

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

'date' displays wrong time?


From: Thomas Koeller
Subject: 'date' displays wrong time?
Date: Thu, 6 Feb 2003 20:40:33 +0100
User-agent: KMail/1.4.3

I noticed a rather strange phenomenon when executing
the 'date' program. Since my local time zone is CET,
I expect the time values output by 'date' and 'date -u'
to differ by exactly one hour. But this is not the case,
the difference is always 22 seconds less than that:

~/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

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
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.


-- 
Thomas Koeller
address@hidden






reply via email to

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