Paul Boddie <[email protected]> added the comment:
Well, this still doesn't work for me. I'm running Kubuntu 8.04 (libc6 package
version 2.7-10ubuntu5) and reside in the CEST time zone, yet attempting to
display the time zone always seems to give "+0000". Here are the failing tests,
too:
======================================================================
FAIL: test_tm_gmtoff1 (__main__.TimeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Lib/test/test_time.py", line 225, in test_tm_gmtoff1
time.strftime("%z"), time.strftime("%z", time.localtime()))
AssertionError: '+0200' != '+0000'
======================================================================
FAIL: test_tm_gmtoff2 (__main__.TimeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Lib/test/test_time.py", line 238, in test_tm_gmtoff2
time.strftime("%z", time.localtime()), "+0000")
AssertionError: '+0000' == '+0000'
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue762963>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com