tz helps you schedule things across time zones. It is an interactive TUI program that displays time across a few time zones of your choosing.
Simply run tz
with no arguments to show the local time, as well as the
UTC time zone. It gets more interesting once you set the TZ_LIST
environment variable with a comma-separated list of tz data
zone names.
The program will adjust to light and dark terminals themes.
The simplest thing is probably to grab a release, but no one will be harmed if you build from source, as only linux/amd64 builds are provided for now.
If you're an Archlinux user, packages are also available:
tz is configured only through TZ_LIST
, and that limits us to the tz
database names, but you can alias these names using a special value: the
tz name followed by ;
and your alias:
TZ_LIST="Europe/Paris;EMEA office,US/Central;US office"
You need a recent-ish release of go with modules support:
git clone https://github.com/oz/tz
cd tz
go build
go test -cover
The GPL3 license.
Copyright (c) 2021 Arnaud Berthomier