This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Erik.Cederstrand
Recipients Erik.Cederstrand, aganders3, belopolsky, r.david.murray
Date 2011-05-25.06:25:29
SpamBayes Score 2.050537e-05
Marked as misclassified No
Message-id <1306304730.53.0.651746348804.issue12006@psf.upfronthosting.co.za>
In-reply-to
Content
Getting a date from ISO week /weekday is not possible with the %W and %w directives. ISO week numbers and normal week numbers are calculated differently (see my libc qoute in the original post). Also, using %w instead of %u would be ambiguous, since %w weeks start on Sunday, while %u start with Monday.

I agree that this should be implemented in strptime(), to follow libc strptime(). datetime() has a clear constructor while strptime() has all the whacky cases.
History
Date User Action Args
2011-05-25 06:25:30Erik.Cederstrandsetrecipients: + Erik.Cederstrand, belopolsky, r.david.murray, aganders3
2011-05-25 06:25:30Erik.Cederstrandsetmessageid: <1306304730.53.0.651746348804.issue12006@psf.upfronthosting.co.za>
2011-05-25 06:25:30Erik.Cederstrandlinkissue12006 messages
2011-05-25 06:25:29Erik.Cederstrandcreate