Message221888
> But python detect daylight flag as differences between January and July localtime.
This is the best we can do because time.daylight is a constant and this does not work in locations like Moscow where daylight rules were adopted ~ 30 years ago and later abandoned.
If you need better timezone support - take a look at datetime.datetime.astimezone() method. |
|
Date |
User |
Action |
Args |
2014-06-29 19:40:24 | belopolsky | set | recipients:
+ belopolsky, lemburg, amaury.forgeotdarc, BreamoreBoy, dimonb |
2014-06-29 19:40:24 | belopolsky | set | messageid: <1404070824.12.0.642294760419.issue13413@psf.upfronthosting.co.za> |
2014-06-29 19:40:24 | belopolsky | link | issue13413 messages |
2014-06-29 19:40:23 | belopolsky | create | |
|