Skip to content

Commit 2a59c89

Browse files
EdwardBettsgerrymanoim
authored andcommitted
Avoid using legacy time zone name 'CET' in tests
This commit replaces the legacy time zone name CET with the current name Europe/Brussels in two tests. Release 2024b of the tz database removed System V symlinks including the symlink that points from CET to Europe/Brussels. In Debian the CET symlink has moved from the tzdata package to tzdata-legacy. See https://data.iana.org/time-zones/tzdb-2024b/NEWS and https://lists.debian.org/debian-devel-changes/2024/10/msg00256.html
1 parent 133b547 commit 2a59c89

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

exchange_calendars/exchange_calendar_xdus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class XDUSExchangeCalendar(ExchangeCalendar):
9494

9595
name = "XDUS"
9696

97-
tz = ZoneInfo("CET")
97+
tz = ZoneInfo("Europe/Brussels")
9898

9999
open_times = ((None, time(8)),)
100100

exchange_calendars/exchange_calendar_xham.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class XHAMExchangeCalendar(ExchangeCalendar):
9494

9595
name = "XHAM"
9696

97-
tz = ZoneInfo("CET")
97+
tz = ZoneInfo("Europe/Brussels")
9898

9999
open_times = ((None, time(8)),)
100100

0 commit comments

Comments
 (0)