This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author panjunyong
Recipients
Date 2004-10-25.13:56:00
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=601368

Sorry, time should be right under Windows(my mistake :-( ).
Then since the result is quite different, maybe time is
wrong under Linux? 

windows:

>>> import time
>>> time.timezone
-28800
>>> time.localtime()
(2004, 10, 25, 21, 28, 24, 0, 299, 0)
>>> time.gmtime()
(2004, 10, 25, 13, 28, 29, 0, 299, 0)

And Linux:

>>> import time
>>> time.timezone
28800
>>> time.tzname
('GMT+8', 'GMT+8')
>>> time.localtime()
(2004, 10, 25, 21, 28, 6, 0, 299, 0)
>>> time.gmtime()
(2004, 10, 26, 5, 28, 10, 1, 300, 0)
History
Date User Action Args
2007-08-23 14:26:59adminlinkissue1053539 messages
2007-08-23 14:26:59admincreate