This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "daylight" variable set wrong for Europe/Berlin?


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?



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]