Nov. 9, 2021
4:04 p.m.
On 11/9/21 06:52, Tom Lane wrote:
AFAIK, the only way to enumerate the available zones in a typical installation is to search the directory tree.
Although that was true years ago, since 2017c tzdb has distributed a file tzdata.zi that also works. For example, on my Fedora 35 host, the shell command: awk '/^Z/ {print $2}' /usr/share/zoneinfo/tzdata.zi lists a name for each distinct TZif file.