[issue35066] Inconsistency between dangling '%' handling in time.strftime() and datetime.strftime()
STINNER Victor
report at bugs.python.org
Mon Jan 14 05:21:14 EST 2019
STINNER Victor <vstinner at redhat.com> added the comment:
The behavior of strftime() with non-ASCII is not portable: bpo-34512.
A solution to make time.strftime() more portable would be to split the format string, format each "%xxx" substring separately but don't pass substrings between "%xxx" to strftime().
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35066>
_______________________________________
More information about the Python-bugs-list
mailing list