bug-coreutils
[Top][All Lists]
Advanced

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

bug#10699: bug of `date`: why 1/1/2012 is the second week of 2012?


From: Wang, YuanTao
Subject: bug#10699: bug of `date`: why 1/1/2012 is the second week of 2012?
Date: Thu, 2 Feb 2012 02:25:59 -0600

$ date -d "2012-01-01 00:00:00" +%U
01

but in "man date"
%U     week number of year, with Sunday as first day of week (00..53)

Is it a bug?

$ uname -r
2.6.18-128.1.6.el5xen



reply via email to

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