Skip to main content

Compare your local timezone with foreign ones.

Project description

Timezone Converter

Compare a full day of your local timezone with foreign ones


integration status deployment status pre-commit.ci status python version latest release code style

$ timezone-converter tijuana --zone $ timezone-converter tijuana new_york
comparison between two timezones with zone info comparison between three timezones

Motivation

When working with people that are not in your local timezone, the available resources are the usual webpages that only show one hour at a time, which is pretty inconvenient.

With this package you can quickly compare a full day of your timezone against foreign ones.

Installation

pip install -U timezone-converter

Usage

timezone-converter <timezone> [<timezone> ...]

Useful flags:

timezone-converter tijuana new_york --zone
timezone-converter tijuana new_york --order
timezone-converter tijuana --single 14
timezone-converter --search york
timezone-converter --list tbd

Docker

docker run --rm -t bledy/timezone-converter <timezone> [<timezone> ...]

Features

Comparison between multiple timezones

Multiple timezones can be provided to get a side-by-side comparison. Short timezone names such as new_york are supported, as are canonical timezone paths such as America/New_York.

Current hour highlighting

The row containing the current hour will be highlighted.

Zone abbreviations

Using the --zone argument, each column header will include the timezone abbreviation for that day, such as PST or CEST.

Ordered columns

Using the --order argument, timezone columns will be sorted by their offset difference from your local timezone.

Output a single hour

Using the --single argument, you can output a single hour. If you don't provide a value, the current hour will be displayed.

Search for a timezone

Using the --search argument, you can fuzzy-search for available timezone names.

List of available timezones

Using the --list argument, you can see a pretty list of available timezones, by groups, and sorted alphabetically. You can optionally provide letters to filter the groups that are shown.

$ timezone-converter --list

list of available timezones

License

This project is licensed under the terms of the MIT license.

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

timezone_converter-0.16.1.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

timezone_converter-0.16.1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file timezone_converter-0.16.1.tar.gz.

File metadata

  • Download URL: timezone_converter-0.16.1.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for timezone_converter-0.16.1.tar.gz
Algorithm Hash digest
SHA256 75b545fdaad51e2ba0836f59edcab694c5f1fccc07d00a292533aca3344ceacd
MD5 718ac97db3926052639075503e857d16
BLAKE2b-256 48f7db27c8a8bbf1a40915d912494acc34d2794d3d22d546e7313e931a64c5f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for timezone_converter-0.16.1.tar.gz:

Publisher: deployment.yml on ibLeDy/timezone-converter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file timezone_converter-0.16.1-py3-none-any.whl.

File metadata

File hashes

Hashes for timezone_converter-0.16.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c27a77bc8001ba15cbb3c60169c95b447f4f49449549d44eb74c22461c476e27
MD5 6a8b8e3b7abc20949e72e121bfb5b0de
BLAKE2b-256 b01198637c3284a8563633d302ba841c1cf55b287613a93dd7266d50a8ea1a74

See more details on using hashes here.

Provenance

The following attestation bundles were made for timezone_converter-0.16.1-py3-none-any.whl:

Publisher: deployment.yml on ibLeDy/timezone-converter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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