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

Erik Cederstrand report at bugs.python.org
Thu May 26 20:18:34 CEST 2011


Erik Cederstrand <ec at 1calendar.dk> added the comment:

Ashley, can you elaborate on wherein the ambiguity lies? Which combination of year, ISO week number and ISO weekday would lead to ambiguity?

Regarding documentation, the %G, %V and %u directives are listed in IEEE Std 1003.1, 2004 Edition for strftime(): http://pubs.opengroup.org/onlinepubs/009695399/functions/strftime.html

For some reason, these directives are not mentioned in the related strptime(): http://pubs.opengroup.org/onlinepubs/009695399/functions/strptime.html

----------

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


More information about the Python-bugs-list mailing list