[Python-Dev] TZ-aware local time
python at mrabarnett.plus.com
Wed Jun 6 17:42:58 CEST 2012
On 06/06/2012 07:10, Ben Finney wrote:
> 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?
I was thinking timezone as the base offset from UTC; DST would be an
additional offset which changes (or may change) twice a year.
More information about the Python-list