5 Mar
2002
5 Mar
'02
12:30 p.m.
Am I misunderstanding something, or is your "naive time" simply local time without the knowledge of DST or time zone ?
Exactly.
If so, you have an excellent solution that works 99.97% of the time. Unfortunately, once you have removed the one bit of DST information, it's not always possible to get it back, without knowing _which_ 2:30 Sunday morning...
Exactly. And I don't care. In fact, I would go further, and claim that not caring about this is the whole point. If you had cared about this, you would have saved UTC timestamps. --Guido van Rossum (home page: http://www.python.org/~guido/)