On Thu, Jan 30, 2003 at 09:59:54PM -0500, Stan Heckman wrote:
$ date --version | head -3; date -d 1969-12-31
date (coreutils) 4.5.2
Written by David MacKenzie.
date: invalid date `1969-12-31'
I expected output something like like "Wed Dec 31 00:00:00 EST 1969",
not "invalid date".
All dates before 1970-01-01 that I have tried seem to produce "invalid
date"; all dates after 1970-01-01 that I have tried produce the output
I expect.
I suspect that you'll find that all dates before 1970 fail and that all
dates after Mon Jan 19 04:14:07 2038 (GMT) also fail.
Why are you reporting this as a bug against glibc? That's how time_t
works. Search google for "time_t" and "epoch" for more information.
Closing this bug.
Tks,
Jeff Bailey