[issue12006] strptime should implement %V or %u directive from libc

Ashley Anderson report at bugs.python.org
Thu May 26 18:07:48 CEST 2011


Ashley Anderson <aganders3 at gmail.com> added the comment:

When trying to add cases for %V and %u in the tests, I ran into an issue of year ambiguity. The problem comes when the ISO year does not match the Gregorian year for a given date. I think this should be fixed by implementing the %G directive (ISO year, which is present in strftime) as well.

----------

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


More information about the Python-bugs-list mailing list