about summary refs log tree commit diff
path: root/timezone/testdata
Commit message (Collapse)AuthorAgeFilesLines
* time: Set daylight to 1 for matching DST/offset change (bug 29951)Florian Weimer2023-01-051-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.
* timezone: test-case for BZ #28707Hans-Peter Nilsson2021-12-301-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>
* Make time zone file parser more robust [BZ #17715]Florian Weimer2015-04-244-0/+0