glibc/timezone
Florian Weimer 71d4fe94a1 time: Set daylight to 1 for matching DST/offset change (bug 29951)
The daylight variable is supposed to be set to 1 if DST is ever in
use for the current time zone.  But __tzfile_read used to do this:

  __daylight = rule_stdoff != rule_dstoff;

This check can fail to set __daylight to 1 if the DST and non-DST
offsets happen to be the same.

(cherry picked from commit 35141f304e)
2023-01-10 17:36:15 +01:00
..
testdata time: Set daylight to 1 for matching DST/offset change (bug 29951) 2023-01-10 17:36:15 +01:00
africa Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
antarctica Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
asia Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
australasia Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
backward Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
etcetera Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
europe Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
factory Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
iso3166.tab Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
leapseconds Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
Makefile time: Set daylight to 1 for matching DST/offset change (bug 29951) 2023-01-10 17:36:15 +01:00
northamerica Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
pacificnew Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
private.h Update timezone code from tzcode 2020a 2020-05-15 09:19:27 -07:00
README Update timezone/README 2020-01-09 23:00:25 -08:00
simplebackw Update. 1998-02-15 23:23:43 +00:00
solar87 Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
solar88 Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
solar89 Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
southamerica Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
systemv Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
test-tz.c 2006-01-10 Roland McGrath <roland@redhat.com> 2006-01-10 20:37:36 +00:00
tst-bz28707.c timezone: test-case for BZ #28707 2022-01-07 10:21:11 +01:00
tst-bz29951.c time: Set daylight to 1 for matching DST/offset change (bug 29951) 2023-01-10 17:36:15 +01:00
tst-timezone.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-tzset.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tzfile.h Update timezone code from tzcode 2020a 2020-05-15 09:19:27 -07:00
tzselect.ksh Update timezone code from tzcode 2018g. 2018-12-10 13:11:58 +00:00
version Update timezone code from tzcode 2020a 2020-05-15 09:19:27 -07:00
yearistype Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
zdump.c Update timezone code from tzcode 2020a 2020-05-15 09:19:27 -07:00
zic.c Update timezone code from tzcode 2020a 2020-05-15 09:19:27 -07:00
zone.tab Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00

The files
	zic.c zdump.c tzfile.h private.h tzselect.ksh version
come from the tzcode package by Arthur David Olson et.al.
The 'version' file specifies which tzcode version was used.

The files
	africa antarctica asia australasia europe
	northamerica southamerica pacificnew etcetera factory
	backward systemv solar87 solar88 solar89
	iso3166.tab zone.tab leapseconds yearistype
come from the tzdata package by Arthur David Olson et.al.
except that its 'yearistype.sh' file is renamed to 'yearistype'.
These tzdata files were taken from tzdata 2009i and have not been
updated since, as they do not affect glibc installation and are
present only for regression testing.

Please also see: https://sourceware.org/glibc/wiki/SharedSourceFiles

These packages may be found at https://ftp.iana.org/tz/releases/.
Commentary should be addressed to tz@iana.org.

The subdirectory testdata contains manually edited data files for
regression testing purposes.