Skip to main content

Get local datetime from multiple timezones!

Project description

Timezone CLI

Get local datetime from multiple timezones.

Usage

Search for local date time

$ tz search "us"

Add timezones

Timezones added to the config file are treated as the default timezones which is triggered by the tz show command.

file is stored at ~/.tz-cli

$ tz add "Asia/Kathmandu"

Remove timezones

There are two ways for removing timezones from the config file. Using the --interactive mode and passing the the --name flag.

$ tz remove -i

$ tz remove --name "Asia/Kathmandu"

Show local datetime of all saved timezones

$ tz show

Select a single timezone from defaults

$ tz select

Contributing

For guidance on setting up a development environment and how to make a contribution to timezones-cli, see the contributing guidelines.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

timezones_cli-0.1.0.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

timezones_cli-0.1.0-py3-none-any.whl (6.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page