Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | time: Set daylight to 1 for matching DST/offset change (bug 29951) | Florian Weimer | 2023-01-05 | 1 | -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 #28707 | Hans-Peter Nilsson | 2021-12-30 | 1 | -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 Weimer | 2015-04-24 | 4 | -0/+0 |