bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

date


From: Jeremy M. Guthrie
Subject: date
Date: Wed, 31 Dec 2008 10:10:53 -0600
User-agent: KMail/1.9.7

I have found a bug with 'date', it will jump a year the last few days of the 
year.

#The actual time/date
[h-custmgmt-msn-1 guthrie 10:09am]~-> date
Wed Dec 31 10:09:34 CST 2008  

#It thinks it's 2009.  It did this yesterday and the day before.
[h-custmgmt-msn-1 guthrie 10:09am]~-> date "+%m-%d-%G"
12-31-2009
[h-custmgmt-msn-1 guthrie 10:09am]~-> date "+%G"
2009
[h-custmgmt-msn-1 guthrie 10:09am]~-> date "+%m"
12
[h-custmgmt-msn-1 guthrie 10:09am]~-> date "+%d"
31

-- 

--------------------------------------------------
Jeremy M. Guthrie           address@hidden
Hosting and Managed Services
Cisco Managed Security Services
Technical Architect            Phone: 608-298-1061
CDW                              Fax: 608-288-3007
5520 Research Park Drive         NOC: 608-298-1102
Madison, WI 53711

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]