aboutsummaryrefslogtreecommitdiff
path: root/timezone/testdata
AgeCommit message (Collapse)AuthorFilesLines
2023-01-05time: Set daylight to 1 for matching DST/offset change (bug 29951)Florian Weimer1-0/+0
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.
2021-12-30timezone: test-case for BZ #28707Hans-Peter Nilsson1-0/+16
This test-case is the tzfile for Asuncion generated by tzlib-2021e as follows, using the tzlib-2021e zic: "zic -d DEST -r @1546300800 -L /dev/null -b slim SOURCE/southamerica". Note that in its type 2 header, it has two entries in its "time-types" array (types), but only one entry in its "transition types" array (type_idxs). * timezone/Makefile, timezone/tst-pr28707.c, timezone/testdata/gen-XT5.sh: New test. Co-authored-by: Christopher Wong <Christopher.Wong@axis.com>
2015-04-24Make time zone file parser more robust [BZ #17715]Florian Weimer4-0/+0