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


View this message in rfc822 format

From: Bob Proulx <bob <at> proulx.com>
To: Krzysztof Kowalski <krzysztof7kowalski <at> gmail.com>
Cc: 10182 <at> debbugs.gnu.org
Subject: bug#10182: Century bug in date utility?
Date: Thu, 1 Dec 2011 14:42:34 -0700
Krzysztof Kowalski wrote:
> For a test I changed system time to 1997 and date utility returned 20
> century as well :)

Of course you know you don't need to change the system time to test
this.  You can do it easily with date.

  $ date -d '1997-01-01 12:00 UTC' +%C
  19

Bob




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

Previous Next


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