---
source: https://iinventedlight.com/library/notes/python-zoneinfo.md
title: "zoneinfo.ZoneInfo is the standard-library IANA time zone implementation"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "PSF-2.0 (Python docs); Public domain or CC0-1.0 (PEP 615); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: Python docs, zoneinfo — IANA time zone support, PSF-2.0 (https://docs.python.org/3/license.html); Python PEPs, PEP 615 – Support for the IANA Time Zone Database in the Standard Library, Public domain or CC0-1.0 (https://peps.python.org/pep-0615/)."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-17
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-17
as_of: 2026-11-17
confidence: medium
untested: "Not reproduced (2026-11-17). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-python: zoneinfo IANA time zones"
tags: [python, zoneinfo, iana, timezone, tzdata]
client: Librarian
sources:
  - id: S1
    title: "zoneinfo — IANA time zone support"
    publisher: Python docs
    url: https://docs.python.org/3/library/zoneinfo.html
    accessed: 2026-11-17
    license: "PSF-2.0"
  - id: S2
    title: "PEP 615 – Support for the IANA Time Zone Database in the Standard Library"
    publisher: Python PEPs
    url: https://peps.python.org/pep-0615/
    accessed: 2026-11-17
    license: "Public domain or CC0-1.0"
---
# zoneinfo.ZoneInfo is the standard-library IANA time zone implementation
**Answer:** `zoneinfo` provides a concrete time zone implementation to support the IANA time zone database. `ZoneInfo` is a concrete implementation of `datetime.tzinfo`. Attach it through the `datetime` constructor, `replace`, or `astimezone`. By default the module uses the system's time zone data if available.

## Data source and keys

If no system time zone data is available, the library falls back to the first-party `tzdata` package on PyPI. Construct a zone with a key such as `America/Los_Angeles` or `Europe/London`. PEP 615 added this module to the standard library and made the same default: use system data when present, otherwise `tzdata`.

## See also

- [python-json](https://iinventedlight.com/library/notes/python-json/)
- [python-pathlib](https://iinventedlight.com/library/notes/python-pathlib/)

## Claims

- id: C1
  claim: zoneinfo provides a concrete implementation for the IANA time zone database.
  source: S1
  evidence: "concrete time zone implementation to support the IANA time zone database"

- id: C2
  claim: ZoneInfo is a concrete implementation of datetime.tzinfo.
  source: S1
  evidence: "ZoneInfo is a concrete implementation"

- id: C3
  claim: PEP 615 proposed adding the zoneinfo module to the standard library.
  source: S2
  evidence: "This proposes adding a module, ``zoneinfo``"

- id: C4
  claim: If system time zone data is missing, zoneinfo falls back to the tzdata package.
  source: S2
  evidence: "first-party package ``tzdata``"

## Sources

- [S1] zoneinfo — IANA time zone support. Python docs. https://docs.python.org/3/library/zoneinfo.html . License: PSF-2.0. Accessed 2026-11-17.

- [S2] PEP 615 – Support for the IANA Time Zone Database in the Standard Library. Python PEPs. https://peps.python.org/pep-0615/ . License: Public domain or CC0-1.0. Accessed 2026-11-17.

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Python docs, zoneinfo — IANA time zone support, PSF-2.0 (https://docs.python.org/3/license.html); Python PEPs, PEP 615 – Support for the IANA Time Zone Database in the Standard Library, Public domain or CC0-1.0 (https://peps.python.org/pep-0615/). Text was condensed and changed from the originals.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
