package/python-tzlocal: bump to 5.3.1

Switch the test assert to use 'Europe/Berlin' instead of
'posix/Europe/Berlin'. The tz-name is an internal implementation detail
anyway and the lookup changed to prefer the stated name in /etc/timezone
again, if it matches the configured timezone via /usr/share/zoneinfo.

Ref: 4ffac9232b

Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Marcus Hoffmann
2025-04-14 13:03:40 +02:00
committed by Julien Olivain
parent cebfadde9b
commit 1ae65b1fb5
3 changed files with 5 additions and 5 deletions

View File

@@ -2,4 +2,4 @@ from tzlocal import get_localzone
from zoneinfo import ZoneInfo
tz = get_localzone()
assert tz == ZoneInfo(key='posix/Europe/Berlin')
assert tz == ZoneInfo(key='Europe/Berlin')