← TechnologyThe essentials of

ZoneInfo: a named zone rather than a fixed offset

Publisher: ResumeMaker • 1 source

Published: 22 Oct 2026 16:11 · Updated: 22 Oct 2026 16:11

AI source check: 22 Oct 2026 14:04. This is not editorial approval.

In a few sentences

In brief

ZoneInfo uses the IANA database for time-zone rules. Europe/Sofia describes historical and seasonal rules rather than promising a permanent two-hour offset from UTC.

Useful to know

ZoneInfo uses the IANA database for time-zone rules. Europe/Sofia describes historical and seasonal rules rather than promising a permanent two-hour offset from UTC. [1]

The module looks for system data and can use the tzdata package. Check that suitable data is available in the runtime environment. Choosing a display language does not replace selecting a zone when converting an instant.

Sources

For further detail and to check the information:

  1. [1] zoneinfo — IANA time zone support — Python 3.12.15 documentation ↗