[New-bugs-announce] [issue13413] time.daylight incorrect behavior in linux glibc
report at bugs.python.org
Wed Nov 16 08:49:24 CET 2011
New submission from Dmitry Balabanov <dimonb at gmail.com>:
In Europe/Moscow timezone:
>> import time
But if compile and run attached program result would be:
timezone: -14400, daylight: 0
Daylight is not applicable in Europe/Moscow timezone from this winter. But python detect daylight flag as differences between January and July localtime.
Why not tzset()?
title: time.daylight incorrect behavior in linux glibc
Added file: http://bugs.python.org/file23704/daylight.c
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce