summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJochen Sprickerhof <jspricke@debian.org>2023-10-06 16:51:11 +0200
committerJochen Sprickerhof <jspricke@debian.org>2023-10-06 16:51:11 +0200
commitf15c7ce4b81ab8e9454b1cdb07e5e48f2d310ca8 (patch)
treee8e5c65c36fc5af273f5b7908b1e0e78ec444f8a
parente5258b45fe1d53a7d16a10a3c7de5c7819829705 (diff)
Use non legacy timzone names
Closes: #1052814
-rw-r--r--debian/patches/0001-Use-non-legacy-timzone-names.patch30
-rw-r--r--debian/patches/series1
2 files changed, 31 insertions, 0 deletions
diff --git a/debian/patches/0001-Use-non-legacy-timzone-names.patch b/debian/patches/0001-Use-non-legacy-timzone-names.patch
new file mode 100644
index 0000000..6fbff2e
--- /dev/null
+++ b/debian/patches/0001-Use-non-legacy-timzone-names.patch
@@ -0,0 +1,30 @@
+From: Jochen Sprickerhof <jspricke@debian.org>
+Date: Fri, 6 Oct 2023 16:30:13 +0200
+Subject: Use non legacy timzone names
+
+---
+ test/test_time_zones_differ.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/test/test_time_zones_differ.py b/test/test_time_zones_differ.py
+index e4b93ab..780507b 100644
+--- a/test/test_time_zones_differ.py
++++ b/test/test_time_zones_differ.py
+@@ -7,7 +7,7 @@ import pytz
+ # DTSTART;TZID=Europe/Berlin:20190304T000000
+ # time zone offset 6:07:00 between Europe/Berlin and Asia/Ho_Chi_Minh
+ ((2019,3,4), 24, "Europe/Berlin", 1, "three_events"),
+- ((2019,3,4), 24, "US/Eastern", 0, "three_events"),
++ ((2019,3,4), 24, "EST", 0, "three_events"),
+ ((2019,3,4), 24, 'Asia/Ho_Chi_Minh', 1, "three_events"),
+ ((2019,3,4), 1, 'Asia/Ho_Chi_Minh', 0, "three_events"),
+ ((2019,3,4), 6, 'Asia/Ho_Chi_Minh', 0, "three_events"),
+@@ -15,7 +15,7 @@ import pytz
+ # events that have no time zone, New Year
+ ((2019,1,1), 1, 'Europe/Berlin', 1, "Germany"),
+ ((2019,1,1), 1, 'Asia/Ho_Chi_Minh', 1, "Germany"),
+- ((2019,1,1), 1, 'US/Eastern', 1, "Germany"),
++ ((2019,1,1), 1, 'EST', 1, "Germany"),
+ ])
+ def test_include_events_if_the_time_zone_differs(calendars, date, hours, timezone, number_of_events, calendar_name):
+ """When the time zone is different, events can be included or
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3f1b70b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Use-non-legacy-timzone-names.patch