[New-bugs-announce] [issue4881] Python's timezon handling: daylight saving option

Pablo Castagnino report at bugs.python.org
Thu Jan 8 16:03:05 CET 2009

New submission from Pablo Castagnino <pablo.castagnino at gmail.com>:

Something in python's timezone handling needs to be
updated. Python does not take into account 'daylight saving' clock time

The thing is my clock time is correct. If you
ask anyone here for the time, they will tell you it's X. However, Python
believes (correct) current time is X + 1 hour. In fact, this is the case
most of the time, but because of 'daylight saving' measures, official
time has been changed. So, without a doubt, this needs to be fixed.

A solution could be adding the possibility to set a 'daylight saving'
option which helps dealing with this. So, if I set this option to 3600
secs, then Python could +/- this remainder to the, let's call it,
'expected current time' according to the timezone.

components: Library (Lib)
messages: 79415
nosy: earendili510
severity: normal
status: open
title: Python's timezon handling: daylight saving option
type: feature request

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list