summaryrefslogtreecommitdiffstats
path: root/Doc/library/zoneinfo.rst
Commit message (Collapse)AuthorAgeFilesLines
* Fix code-block in zoneinfo (GH-20201)Anthony Sottile2020-05-191-2/+2
| | | | | | | | | | | | | | ``` Warning, treated as error: /tmp/code/Doc/library/zoneinfo.rst:303:Error in "code-block" directive: 1 argument(s) required, 0 supplied. .. code-block:: >>> a = ZoneInfo("Europe/Berlin") >>> b = pickle.loads(europe_berlin_pkl) >>> a is b True ```
* bpo-40536: Add zoneinfo.available_timezones (GH-20158)Paul Ganssle2020-05-181-0/+23
| | | | | This was not specified in the PEP, but it will likely be a frequently requested feature if it's not included. This includes only the "canonical" zones, not a simple listing of every valid value of `key` that can be passed to `Zoneinfo`, because it seems likely that that's what people will want.
* bpo-40503: Add documentation and what's new entry for zoneinfo (GH-20006)Paul Ganssle2020-05-161-0/+390
This adds the documentation for the `zoneinfo` module added in PEP 615: https://www.python.org/dev/peps/pep-0615/ The implementation itself was GH-19909: https://github.com/python/cpython/pull/19909 bpo-40503: https://bugs.python.org/issue40503 Co-authored-by: Victor Stinner <vstinner@python.org>