[Python-Dev] TZ-aware local time

Ben Finney ben+python at benfinney.id.au
Wed Jun 6 08:10:28 CEST 2012


MRAB <python at mrabarnett.plus.com> writes:

> datetime objects would consist of the UTC time, time zone and DST.

“time zone” information always entails DST information doesn't it? It
isn't proper time zone information if it doesn't tell you about DST.

That is, when you know the full time zone information, that includes
when (if ever) DST kicks on or off.

Or have I been spoiled by the Olsen database?

-- 
 \       “Truth is stranger than fiction, but it is because fiction is |
  `\     obliged to stick to possibilities, truth isn't.” —Mark Twain, |
_o__)                                          _Following the Equator_ |
Ben Finney



More information about the Python-Dev mailing list