[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in 'date'???
From: |
JP Vossen |
Subject: |
Bug in 'date'??? |
Date: |
Sat, 16 Mar 2002 20:52:59 -0500 (EST) |
Am I doing something really stupid here? Should date accept the "a" or "p"
shorthand? It seems to me it would be better if it failed instead of
producing output that is *almost* correct...
/root# date -d "3/1/02 11:59pm" Correct
Fri Mar 1 23:59:00 EST 2002
/root# date -d "3/1/02 11:59p" Not
Fri Mar 1 03:59:00 EST 2002
/root# date -d "3/1/02 11:59 p" Not
Fri Mar 1 03:59:00 EST 2002
/root# date -d "3/1/02 11:59 pm" Correct
Fri Mar 1 23:59:00 EST 2002
/root# date -d "3/1/02 11:59a" Not
Fri Mar 1 07:59:00 EST 2002
/root# date -d "3/1/02 11:59am" Correct
Fri Mar 1 11:59:00 EST 2002
etc...
Am I missing something?
JP
------------------------------|:::======|--------------------------------
JP Vossen, CISSP |:::======| address@hidden
My Account, My Opinions |=========| http://www.jpsdomain.org/
------------------------------|=========|--------------------------------
"The software said it requires Windows 98 or better, so I installed
Linux..."
- Bug in 'date'???,
JP Vossen <=