Help us shape the future of Go! Take the 2026 Go Developer Survey

genzones

command
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Command genzones writes i18n/zones.go, the time zones users choose from (i18n.TimeZones), from the IANA database's zone.tab: one zone per region of each country, sorted, with UTC first.

go run ./internal/cmd/genzones /usr/share/zoneinfo/zone.tab > i18n/zones.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL