[issue8957] strptime(.., '%c') fails to parse output of strftime('%c', ..) in some locales
Alexander Belopolsky
report at bugs.python.org
Wed Jan 12 01:34:44 CET 2011
Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
On Tue, Jan 11, 2011 at 7:26 PM, Roumen Petrov <report at bugs.python.org> wrote:
..
> - locales with %A and %B are broken on this platform as %c is "Appropriate date and time representation (%c) with abbreviations"
According to what standard? POSIX defines it as
%c Replaced by the locale's appropriate date and time representation.
http://pubs.opengroup.org/onlinepubs/009695399/functions/strftime.html
and the manual page on my system agrees:
%c is replaced by national representation of time and date.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8957>
_______________________________________
More information about the Python-bugs-list
mailing list