[Python-Dev] TZ-aware local time
Barry Warsaw
barry at python.org
Wed Jun 6 02:18:54 CEST 2012
On Jun 05, 2012, at 07:41 PM, Alexander Belopolsky wrote:
>The second feature has its uses. If I want wake up at 7 AM every
>weekday, I don't want my alarm clock ask me whether I mean standard or
>daylight saving time, but if I attempt to set it to 1:30 AM on the day
>when 1:30 AM happens twice, I don't want it to go off twice or divine
>which 1:30 AM I had in mind. I think stdlib should allow me to write
>a robust application that knows that some naive datetime objects
>correspond to two points in time and some correspond to none.
Really? Why would naive datetimes know that? I would expect that an aware
datetime would have that information but not naive ones.
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-dev/attachments/20120605/500b6db4/attachment.pgp>
More information about the Python-Dev
mailing list