Public bug reported:

Binary package hint: python2.6

Python routines in timemodule.c sometimes force glibc to use GMT instead
of the correct timezone.

PHP and Perl don't have this bug.  This has been filed upstream since
2003 as http://bugs.python.org/issue762963 and has a patch (and a test)
that needs a review.

I think I reproduced this by:
$ python
>>>import time
>>>time.strftime("%Z", time.localtime())
'PDT'
>>>time.strftime("%z", time.localtime())
'+0000'

** Affects: python2.6 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
timemodule.c: Python loses current timezone
https://bugs.launchpad.net/bugs/564607
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to