bug-coreutils
[Top][All Lists]
Advanced

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

bug#10182: Century bug in date utility?


From: Bob Proulx
Subject: bug#10182: Century bug in date utility?
Date: Thu, 1 Dec 2011 14:42:34 -0700
User-agent: Mutt/1.5.21 (2010-09-15)

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





reply via email to

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