From 0eff3e8404166fe7914cdeaa8e62a5bb0d32e8a1 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Fri, 11 Jul 2025 14:02:58 +0100 Subject: [PATCH] Use canonical timezone name for Buenos Aires (#736) Debian has moved legacy timezone names such as America/Buenos_Aires into the tzdata-legacy package, which is not installed by default. The canonical name for this timezone is America/Argentina/Buenos_Aires, which remains in the standard tzdata package. Update the test to use the canonical name to ensure compatibility with default Debian installations. --- auditlog_tests/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auditlog_tests/tests.py b/auditlog_tests/tests.py index f16b533..d8988d8 100644 --- a/auditlog_tests/tests.py +++ b/auditlog_tests/tests.py @@ -1737,7 +1737,7 @@ class AdminPanelTest(TestCase): for tz, timestamp in [ ("UTC", "2022-08-01 12:00:00"), ("Asia/Tbilisi", "2022-08-01 16:00:00"), - ("America/Buenos_Aires", "2022-08-01 09:00:00"), + ("America/Argentina/Buenos_Aires", "2022-08-01 09:00:00"), ("Asia/Kathmandu", "2022-08-01 17:45:00"), ]: with self.settings(TIME_ZONE=tz):