date -d '38292 Jan 1900'

Nov 02, 2004 15:51



chiark.greenend.org.uk:~/
# [04/11/02.15:46:29] $
: pts/99[8] bash[14964] ; date -d '38292 Jan 1900'
Tue Nov 2 00:00:00 GMT 2004
Poll

unix, geeky, poll

Leave a comment

Comments 8

agenticarus November 2 2004, 08:43:54 UTC
wot, no tickybox! ?

Reply

senji November 2 2004, 08:46:19 UTC
's not a tickybox poll, is it?

Reply

agenticarus November 2 2004, 09:30:04 UTC
no :(

Reply


ewx November 2 2004, 10:43:04 UTC

But this, I think, is fairly described as a bug:

$ date -d '1 Jan 1900'
Fri Dec 13 20:45:52 GMT 1901
$ echo $?
0

Reply

senji November 2 2004, 11:13:01 UTC
It says "date: invalid date `1 Jan 1900'" for me.

Reply

ewx November 2 2004, 12:05:28 UTC

$ date --version
date (coreutils) 5.2.1
Written by David MacKenzie.

Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Reply

senji November 2 2004, 12:24:02 UTC

date (GNU sh-utils) 2.0.11
Written by David MacKenzie.

Copyright (C) 2000 Free Software Foundation, Inc.

Reply


sphyg November 2 2004, 17:24:02 UTC
RON.

Reply


Leave a comment

Up