Subject: bin/3318: Date appears to have the Y2K problem.
To: None <gnats-bugs@gnats.netbsd.org>
From: Peter Seebach <seebs@taniemarie.solon.com>
List: netbsd-bugs
Date: 03/11/1997 14:27:40
>Number: 3318
>Category: bin
>Synopsis: date(1) doesn't know about centuries or 4-digit years
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Mar 11 14:35:02 1997
>Last-Modified:
>Originator: Peter Seebach
>Organization:
Peter Seebach - seebs@solon.com - Copyright 1996 Peter Seebach.
C/Unix wizard -- C/Unix questions? Send mail for help. No, really!
Unsolicited email is not welcome, and will be billed for at consulting rates.
The *other* C FAQ - http://www.solon.com/~seebs/c/c-iaq.html
>Release: -current
>Environment:
System: NetBSD taniemarie 1.2C NetBSD 1.2C (SEEBS) #0: Sat Mar 1 03:26:00 CST 1997 seebs@taniemarie:/usr/src/sys/arch/amiga/compile/SEEBS amiga
>Description:
At least according to the man page, the format date(1) uses has only
two digits for a year.
>How-To-Repeat:
man date
>Fix:
Add support for four digit years. The other two digits are *not* the
century; the century of 1997 is 20, and we don't want to spell it
2097, and it is also not century -1, because then Y2K itself would be
spelled 1900.
>Audit-Trail:
>Unformatted: