[issue14423] Getting the starting date of iso week from a week number and a year.

Marc-Andre Lemburg report at bugs.python.org
Sun Apr 22 22:25:25 CEST 2012


Marc-Andre Lemburg <mal at egenix.com> added the comment:

Mark Dickinson wrote:
> 
> By the way, I don't think the algorithm used in the current patch is correct.  For 'date.from_iso_week(2009, 1)' I get 2009/1/1, which was a Thursday.  The documentation seems to indicate that a Monday should be returned.

True, the correct date is 2008-12-29.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14423>
_______________________________________


More information about the Python-bugs-list mailing list