"daylight" variable set wrong for Europe/Berlin?
U.Mutlu
for-gmane@mutluit.com
Sat Mar 19 16:27:00 GMT 2016
Ok, solved; there is no problem with "daylight".
The external variable "daylight" just means:
0 if this timezone does not have any daylight saving time rules,
nonzero if there is a time during the year when daylight saving time applies.
All right!
U.Mutlu wrote on 03/19/2016 03:30 PM:
> Hi,
> according to this site: http://www.timeanddate.com/time/change/germany/berlin
> the daylight saving time in Germany (TZ="Europe/Berlin") begins
> on 2016-March-27 at 02:00 and ends on 2016-Oct-30 at 03:00.
>
> My system's default timezone is set to "Europe/Berlin" (system is Debian Linux
> 8).
>
> But the "daylight" global variable has the value 1 today.
> Is that not a bug? Shouldn't that variable be 1 only in the
> above said daylight saving period?
More information about the Libc-help
mailing list