GNU bug report logs - #10182
Century bug in date utility?

Previous Next

Package: coreutils;

Reported by: Krzysztof Kowalski <krzysztof7kowalski <at> gmail.com>

Date: Thu, 1 Dec 2011 17:11:01 UTC

Severity: normal

Tags: notabug

Done: Eric Blake <eblake <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Krzysztof Kowalski <krzysztof7kowalski <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: Century bug in date utility?
Date: Thu, 01 Dec 2011 16:34:09 +0100
Hello,

We have 2011,

HOWEVER:

korn% date +%C
20
korn% date
Thu Dec  1 16:26:30 CET 2011


apc%
apc% date +%C
20
apc%
apc% date
Thu Dec  1 16:26:51     2011

And many other call returns that we live in 20 century :)

For a test I changed system time to 1997 and date utility returned 20
century as well :)

-- 
best regards
  -- Kowalski Krzysztof





This bug report was last modified 13 years and 177 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.