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           jeremy.guth...@cdw.com
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.

_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to