Skip to content

quick cli tool for showing 'now' in the relevant timezones to you

License

Notifications You must be signed in to change notification settings

gustavmaskowitz/tzme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tzme

Quick CLI tool for showing 'now' in the relevant timezones to you.

 ~ tzme
16:47 2021-10-13 Europe/Berlin
15:47 2021-10-13 Europe/London
14:47 2021-10-13 UTC
10:47 2021-10-13 US/Eastern
07:47 2021-10-13 US/Pacific

Installation

Rust Version (Recommended)

  1. Install Rust if you haven't already:

    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  2. Build and install:

    cargo build --release
    sudo cp target/release/tzme /usr/local/bin/
  3. Run:

    tzme

Python Version

Requires Python 3 and pytz:

pip install pytz
chmod +x tzme.py
sudo mv tzme.py /usr/local/bin/tzme

Timezones

Currently displays time in:

  • Europe/Berlin
  • Europe/London
  • UTC
  • US/Eastern
  • US/Pacific

To customize, edit the timezone list in src/main.rs (Rust) or tzme.py (Python).

About

quick cli tool for showing 'now' in the relevant timezones to you

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published