Commit Graph
5 Commits
Author SHA1 Message Date
Martin Weinelt 5c38f6ef96 Test timezone naming normalization and error handling 2026-07-06 23:18:27 +02:00
Martin Weinelt 38cabaa6aa Provide lookup for normalized timezone names
This provides a helper to look up the correct timezone name independent
of the casing of the given timezone name.
2026-07-06 23:18:21 +02:00
Martin Weinelt f7528937e0 Replace pytz with native tz-aware objects and zoneinfo library
Supported from Python 3.9, see https://peps.python.org/pep-0615/. Also
https://blog.ganssle.io/articles/2019/11/utcnow.html.
2026-07-06 23:17:32 +02:00
Martin Weinelt f4e0781ea5 Migrate to pydantic TypeAdapter
https://pydantic.dev/docs/validation/2.12/get-started/migration/#introduction-of-typeadapter
2026-07-06 23:16:10 +02:00
Martin Weinelt a9e6f3b2e3 Migrate to fastapi lifespan for startup events
The `on_event` style decorator is deprecated

https://fastapi.tiangolo.com/advanced/events/
2026-07-06 23:16:10 +02:00