bug-coreutils
[Top][All Lists]
Advanced

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

date function


From: MetaDesign
Subject: date function
Date: Sun, 14 Mar 2004 13:06:47 +0100 (MET)

Hi,

I think there is a wrong algorithm in your date function when using the %C
argument for displaying the current century. your algorithm (year divided by
100 and truncated to an integer) gives the 20th century for the year 2004.
but
obviously that's not correct, so there has to be added a "+ 1" to your
algorithm. 

hope I could help

best regards

g. müller

-- 
+++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++
100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz





reply via email to

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