[New-bugs-announce] [issue19583] time.strftime fails to use %:z time formatter of the underlying C library
Mathieu Dupuy
report at bugs.python.org
Thu Nov 14 15:51:55 CET 2013
New submission from Mathieu Dupuy:
function time.strftime fails to use '%:z' time formatter of the underlying library. Passing it does not format time accordingly but returns it as if it was a non-formatting string.
Simple reproduction, on Linux:
$ date +%:z
+01:00
$ python -c 'import time;print time.strftime("%:z")'
%:z
%z works fine, any of the other middle-colon variant (glibc also have %::z, %:::z) have the same problem.
Reproduced with python 2.7 and 3.3
----------
components: Library (Lib)
messages: 202845
nosy: mdupuy
priority: normal
severity: normal
status: open
title: time.strftime fails to use %:z time formatter of the underlying C library
type: behavior
versions: Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19583>
_______________________________________
More information about the New-bugs-announce
mailing list