time.strftime BUG?

Roman Suzi rnd at onego.ru
Mon Jul 9 00:55:40 EDT 2001


On Sun, 8 Jul 2001, Graham Ashton wrote:

I've reported this BUG thru Sourceforge.

>In article <mailman.994491312.28840.python-list at python.org>, "Roman Suzi"
><rnd at onego.ru> wrote:
>
>> >>> time.strftime("%Z", time.localtime(time.time()))
>> 'MSD'
>> >>> time.strftime("%z", time.localtime(time.time()))
>> '+0000'
>
>> While I believe the later should be:
>> '+0400'
>
>I'm a bit confused by this too.
>

Sincerely yours, Roman Suzi
-- 
_/ Russia _/ Karelia _/ Petrozavodsk _/ rnd at onego.ru _/
_/ Monday, July 09, 2001 _/ Powered by Linux RedHat 6.2 _/
_/ "Useless Invention: Motorcycle seat-belts." _/





More information about the Python-list mailing list