A world clock CLI
Find a file
renovate-bot 16993b65d6
Some checks failed
renovate/stability-days Updates have met minimum release age requirement
ci/woodpecker/pr/test Pipeline failed
ci/woodpecker/push/test Pipeline failed
Update Rust crate kdl to v6.7.0
2026-06-07 00:05:30 +00:00
.woodpecker refactor(ci): move CI steps into mise 2026-04-07 10:00:11 -06:00
src Initial commit 2025-05-17 21:25:46 -06:00
.editorconfig Initial commit 2025-05-17 21:25:46 -06:00
.gitignore Initial commit 2025-05-17 21:25:46 -06:00
Cargo.lock Update Rust crate kdl to v6.7.0 2026-06-07 00:05:30 +00:00
Cargo.toml Update Rust crate tabled to 0.20.0 2025-06-05 00:06:33 +00:00
LICENSE.md Update README, add license 2025-05-26 12:19:50 -06:00
mise.toml Merge pull request 'chore(deps): update dependency rust to v1.94.1' (#12) from renovate/rust-1.x into main 2026-04-07 18:00:24 +02:00
README.md fix(docs): update CI badge [ci skip] 2026-05-27 11:38:30 -06:00
renovate.json Update renovate.json 2026-05-27 16:04:34 +00:00

worldclock

status-badge

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/.