[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
date-madness
From: |
Mats Blomstrand |
Subject: |
date-madness |
Date: |
Fri, 10 Dec 2004 21:00:28 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; OpenBSD i386; en-US; rv:1.6) Gecko/20041203 |
Hi guys....
I have just downloaded and compiled "coreutils-5.2.1" just to get a real
'date' on
my OpenBSD 3.6 (x86, dell inspiron 4100).
But that 'date' got to be broken. Take a look at this:
$ gdate -d "saturday 12:00"
Sat Dec 11 12:00:00 CET 2004
$ gdate -d "saturday 24:00"
gdate: invalid date `saturday 24:00'
$ gdate -d "saturday 23:59"
Sat Dec 11 23:59:00 CET 2004
$ gdate -d "sunday 00:01"
Sun Dec 12 00:01:00 CET 2004
And it gets even more strange when one asking for calculations:
$ gdate -d "sunday 00:01"
Sun Dec 12 00:01:00 CET 2004
$ gdate -d "sunday 00:01 +3 hours"
Sun Dec 12 01:58:07 CET 2004
You are welcome to contact me if you need more information.
Thanks for your time.
//Mats
:wq
- date-madness,
Mats Blomstrand <=