Author aganders3
Recipients Erik.Cederstrand, aganders3, belopolsky, r.david.murray
Date 2011-05-26.19:16:42
SpamBayes Score 1.6562e-06
Marked as misclassified No
Message-id <1306437403.08.0.712043699419.issue12006@psf.upfronthosting.co.za>
In-reply-to
Content
The example that triggered the issue in testing was January 1, 1905. The ISO date for this day is 1904 52 7. This is reported correctly if you use datetime.isocalendar() or datetime.strftime('%G'), but you get 1905 if you use datetime.strftime('%Y'). When it's read back in it causes the test to fail because ISO '1904 52 7' is different from ISO '1905 52 7'.

Likewise if you consider a year starting on a Tuesday, Wednesday, or Thursday, there will be several days at the end of the previous year that will have an ISO year ahead of their Gregorian representation.
History
Date User Action Args
2011-05-26 19:16:43aganders3setrecipients: + aganders3, belopolsky, r.david.murray, Erik.Cederstrand
2011-05-26 19:16:43aganders3setmessageid: <1306437403.08.0.712043699419.issue12006@psf.upfronthosting.co.za>
2011-05-26 19:16:42aganders3linkissue12006 messages
2011-05-26 19:16:42aganders3create