]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40536: Add zoneinfo.available_timezones (GH-20158)
authorPaul Ganssle <paul@ganssle.io>
Mon, 18 May 2020 01:55:11 +0000 (21:55 -0400)
committerGitHub <noreply@github.com>
Mon, 18 May 2020 01:55:11 +0000 (21:55 -0400)
commite527ec8abe0849e784ce100f53c2736986b670ae
tree1b638f564cbb69517ba7d9a5fe5d1cbd225bff40
parent9681953c99b686cf23d1c476a2b26d2ddbec7694
bpo-40536: Add zoneinfo.available_timezones (GH-20158)

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.
Doc/library/zoneinfo.rst
Lib/test/test_zoneinfo/_support.py
Lib/test/test_zoneinfo/test_zoneinfo.py
Lib/zoneinfo/__init__.py
Lib/zoneinfo/_tzpath.py
Misc/NEWS.d/next/Library/2020-05-17-14-00-12.bpo-40536.FCpoRA.rst [new file with mode: 0644]