Hugo Osvaldo Barrera added the comment:

It would seem that

    locale.setlocale(locale.LC_TIME, "")

fixes the issue. However, there seems to be no mention on this on the relevant 
documentation page[1], which is actually the source of my confusion.

As a "fix" to this issue (since I'm probably not the first nor last person to 
come across it), can we add a note regarding this below the table in section 
8.1.8.

[1]: 
https://docs.python.org/3.6/library/datetime.html#strftime-strptime-behavior

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29457>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to