17
0
Files
python-backports.zoneinfo/zoneinfo-remove-dublin-check.patch

18 lines
743 B
Diff

From 2022b:
Changes to past timestamps
Some old, small clock transitions have been removed, as people at
the time did not change their clocks. This affects Asia/Hong_Kong
in 1904, Asia/Ho_Chi_Minh in 1906, and Europe/Dublin in 1880.
--- zoneinfo-0.2.1.orig/tests/test_zoneinfo.py
+++ zoneinfo-0.2.1/tests/test_zoneinfo.py
@@ -2044,7 +2044,6 @@ class ZoneDumpData:
IST_1 = ZoneOffset("IST", ONE_H, ZERO)
return [
- ZoneTransition(datetime(1880, 8, 2, 0), LMT, DMT),
ZoneTransition(datetime(1916, 5, 21, 2), DMT, IST_0),
ZoneTransition(datetime(1916, 10, 1, 3), IST_0, GMT_0),
ZoneTransition(datetime(1917, 4, 8, 2), GMT_0, BST),