Message97471
Using time.daylight is incorrect. time.daylight specifies the number of hours that the daylight offset is, not a flag to specify whether or not daylight savings time is in effect.
Steven's suggestion of using time.localtime().tm_isdst seems to be the better route. |
|
| Date |
User |
Action |
Args |
| 2010-01-09 21:22:38 | brian.curtin | set | recipients:
+ brian.curtin, amaury.forgeotdarc, techtonik, srumbalski |
| 2010-01-09 21:22:37 | brian.curtin | set | messageid: <[email protected]> |
| 2010-01-09 21:22:36 | brian.curtin | link | issue7582 messages |
| 2010-01-09 21:22:36 | brian.curtin | create | |
|