- Rust 100%
| .woodpecker | ||
| src | ||
| .editorconfig | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE.md | ||
| mise.toml | ||
| README.md | ||
| renovate.json | ||
worldclock
A teeny-tiny world clock program.
Usage
Put a configuration file at ${XDG_CONFIG_HOME}/worldclock/config.kdl with a list of name-timezone pairs, like this:
locations {
location "Nanaimo" "America/Vancouver"
location "Fort Collins" "America/Denver"
location "Saint Louis" "America/Chicago"
location "UTC" "Etc/UTC"
}
Then run the program.
$ worldclock
┌──────────────┬──────────┬────────┐
│ Location │ Time │ Date │
├──────────────┼──────────┼────────┤
│ Nanaimo │ 11:14 AM │ 26 May │
│ Fort Collins │ 12:14 PM │ 26 May │
│ Saint Louis │ 01:14 PM │ 26 May │
│ UTC │ 06:14 PM │ 26 May │
└──────────────┴──────────┴────────┘
License
© 2025 Rosa Richter
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.