Author sebastienjust
Recipients
Date 2004-10-12.14:04:17
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
It seems that strptime() ignores %U. 

For example when trying to get the first day of the
42th week of year 2004. Please test on the command line : 

import time
time.strftime("%Y-%m-%d",time.strptime("2004 42 1","%Y
%U %w"))

the result is 2004-01-01 and not 2004-10-11
seems that strptime() is ignoring %U indications.

Works fine on Python 2.2, bad on Python 2.3.3 , 2.3.4
and 2.4a1.
Tested on Fedora Core 2.

Thanks
History
Date User Action Args
2007-08-23 14:26:36adminlinkissue1045381 messages
2007-08-23 14:26:36admincreate