bug-coreutils
[Top][All Lists]
Advanced

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

bug#8466: 2012 week number bug


From: Chichasov, Nikolay
Subject: bug#8466: 2012 week number bug
Date: Sun, 10 Apr 2011 12:04:01 +0300

Also 2017 and presumably every year when Jan 01 falls on Sunday.
Checked for kernel 2.6.16 and 2.6.32, same sht.
This is CRUEL one, man.

===  man for 'date'
%U     week number of year with Sunday as first day of week (00..53)
===

sh-3.1$ date -d "01/01/2011" +%U
00
sh-3.1$ date -d "01/01/2012" +%U
01

sh-3.1$ uname -a
Linux xxxxx 2.6.16.60-0.58.1.1882.3.PTF.638363-smp #1 SMP Wed Dec 2 12:27:56 
UTC 2009 x86_64 x86_64 x86_64 GNU/Linux

$ uname -a
Linux xxxxx 2.6.32.26-175.fc12.i686 #1 SMP Wed Dec 1 21:52:04 UTC 2010 i686 
i686 i386 GNU/Linux

Regards.
Nik.
---------------------------------------------------------------------
A member of the Intel Corporation group of companies

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


reply via email to

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