Bugs item #1459642, was opened at 2006-03-27 23:47 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1459642&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Simon Lanzmich (si_lan) Assigned to: Nobody/Anonymous (nobody) Summary: time.timezone / time.strftime('%z') problem Initial Comment: The information returned by time.timezone and time.strftime('%z') are different! I get the following results: [EMAIL PROTECTED] ~]$ date +%z +0200 [EMAIL PROTECTED] ~]$ date +%Z CEST [EMAIL PROTECTED] ~]$ python Python 2.4.2 (#1, Feb 12 2006, 03:45:41) [GCC 4.1.0 20060210 (Red Hat 4.1.0-0.24)] on linux2 [...] >>> time.timezone -3600 >>> time.strftime('%z') '+0200' Please correct me if I'm wrong, but shouldn't "time.timezone" return -7200 ? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1459642&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com