Bug in time module - %z works in perl, not in python?

2007-02-21 Thread bwooster47
Following python code prints out incorrect UTC Offset - the python docs say that %z is not fully supported on all platforms - but on Linux Fedora FC5, perl code works and python does not - is this a bug or is this expected behavior? For a EST timezone setup, Perl prints correct -0500, while Python

Re: Bug in time module - %z works in perl, not in python?

2007-02-21 Thread attn . steven . kuo
On Feb 21, 6:17 pm, [EMAIL PROTECTED] wrote: > Following python code prints out incorrect UTC Offset - the python > docs say that %z is not fully supported on all platforms - but on > Linux Fedora FC5, perl code works and python does not - is this a bug > or is this expected behavior? For a EST tim

Re: Bug in time module - %z works in perl, not in python?

2007-02-22 Thread bwooster47
On Feb 21, 9:50 pm, [EMAIL PROTECTED] wrote: > On Feb 21, 6:17 pm, [EMAIL PROTECTED] wrote: ... > > 2007-02-21 21:15:58 EST+ (iso localtime, python) > Seems to be a bug. I can duplicate the > problem here (Python 2.4.3, Red Hat Desktop release 4). I searched the bug database, found this iss

Re: Bug in time module - %z works in perl, not in python?

2007-02-22 Thread Paul Boddie
On 22 Feb, 17:29, [EMAIL PROTECTED] wrote: > On Feb 21, 9:50 pm, [EMAIL PROTECTED] wrote: > > > On Feb 21, 6:17 pm, [EMAIL PROTECTED] wrote: > ... > > > 2007-02-21 21:15:58 EST+ (iso localtime, python) > > Seems to be a bug. I can duplicate the > > problem here (Python 2.4.3, Red Hat Desktop