[issue13309] test_time fails: time data 'LMT' does not match format '%Z'
Ross Lagerwall
report at bugs.python.org
Tue Nov 1 17:22:04 CET 2011
Ross Lagerwall <rosslagerwall at gmail.com> added the comment:
"""
import time
import sys
t = time.gmtime(time.time())
s = time.strftime('%Z', t)
print(s)
time.mktime((-1, 1, 1, 0, 0, 0, -1, -1, -1))
t = time.gmtime(time.time())
s = time.strftime('%Z', t)
print(s)
"""
outputs:
SAST
LMT
on my Gentoo box. I'm still figuring out why...
----------
nosy: +rosslagerwall
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13309>
_______________________________________
More information about the Python-bugs-list
mailing list