[issue36792] [Windows] time: crash on formatting time with de_DE locale
Charlie Clark
report at bugs.python.org
Tue May 7 12:02:37 EDT 2019
Charlie Clark <charlie.clark at clark-consulting.eu> added the comment:
print('count:', crt_time.wcsftime(wbuf, 1024, '%Z', tm)) also fails
but
crt_convert = ctypes.CDLL('api-ms-win-crt-convert-l1-1-0', use_errno=True)
print('count:', crt_convert.mbstowcs(wbuf, buf, 1024))
seems to work okay.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36792>
_______________________________________
More information about the Python-bugs-list
mailing list