Message153928
One important thing to remember is that once a time is in the past, whether or not DST was in effect for that time *is never going to change*. That means converting a DST aware timezone to a fixed offset timezone will work just fine for historical times.
It's mainly applications that need to handle times in the *future* (where the DST dates are still subject to change) that have to be aware of the problems when trying to handle DST with fixed offset timezone objects.
I think it's sufficient if the documentation pushes developers of such applications towards modules like pytz and dateutil to get access to variable offset tzinfo implementations. |
|
Date |
User |
Action |
Args |
2012-02-22 04:36:03 | ncoghlan | set | recipients:
+ ncoghlan, tim.peters, loewis, jribbens, rhettinger, pboddie, jamesh, guettli, amaury.forgeotdarc, mark.dickinson, davidfraser, belopolsky, pitrou, andersjm, catlee, vstinner, techtonik, tomster, werneck, hodgestar, Neil Muller, eric.araujo, erik.stephens, steve.roberts, r.david.murray |
2012-02-22 04:36:03 | ncoghlan | set | messageid: <1329885363.04.0.682987816188.issue9527@psf.upfronthosting.co.za> |
2012-02-22 04:35:56 | ncoghlan | link | issue9527 messages |
2012-02-22 04:35:55 | ncoghlan | create | |
|