[Python-Dev] TZ-aware local time (original) (raw)
Alexander Belopolsky alexander.belopolsky at gmail.com
Wed Jun 6 03:57:48 CEST 2012
- Previous message: [Python-Dev] TZ-aware local time
- Next message: [Python-Dev] TZ-aware local time
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Jun 5, 2012 at 7:11 PM, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
What would be so bad about giving datetime objects a DST flag? Apps that don't care could ignore it and get results no worse than the status quo.
This would neatly solve the round-trip problem, but will open a different can of worms: what happens to the dst flag when you add a timedelta? If dst flag is optional, should you be able to compare dst-aware and dst-naive instances?
- Previous message: [Python-Dev] TZ-aware local time
- Next message: [Python-Dev] TZ-aware local time
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]