[issue5582] Incorrect DST transition

2009-10-30 Thread acummings
acummings added the comment: OK, it works correctly on 2.6.4: >>> time.localtime(time.mktime(datetime(2009, 10, 30).timetuple())) time.struct_time(tm_year=2009, tm_mon=10, tm_mday=30, tm_hour=0, tm_min=0, tm_sec=0, tm_wday=4, tm_yday=303, tm_isdst=1) I'll close it. Thanks! -- status:

[issue5582] Incorrect DST transition

2009-10-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Could you try to confirm with at least Python 2.6? We don't do any bug fixes on 2.5 anymore. -- components: +Library (Lib) nosy: +pitrou, tim_one priority: -> normal stage: -> needs patch versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2 -Pyth

[issue5582] Incorrect DST transition

2009-10-29 Thread acummings
acummings added the comment: The same thing happens with the autumn transition. Windows knows the transition has changed, but python does not seem to know that: The following interactive session was run on Oct 29th, at 10:02 (Windows clock reported 10:02): >>> july1 = datetime(2009, 7, 1) >

[issue5582] Incorrect DST transition on Windows

2009-04-02 Thread acummings
Changes by acummings : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue5582] Incorrect DST transition on Windows

2009-03-27 Thread acummings
New submission from acummings : On Windows, the calculation of when DST starts is incorrect. Windows OS seems to be fully patched, and correctly changed to DST on 3-8-2009. However, datetime.now() is 1 hour less then Windows displayed time. I even tried setting the TZ environment variable to