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.0.tar.gz (7.0 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.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: timezone_converter-0.16.0.tar.gz
  • Upload date:
  • Size: 7.0 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.0.tar.gz
Algorithm Hash digest
SHA256 b2d68d8f6173d56c2fef13fa44576c34d6ea0c8fda5038b9e2670495a2d19833
MD5 4e88a2941b2d73fb870e585f187b69bf
BLAKE2b-256 37da2b036389ed86d5b1924c780b64baff1b8becb3b5cf3feab1db4f430cc2c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for timezone_converter-0.16.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for timezone_converter-0.16.0-py3-none-any.whl
Algorithm Hash digest
SHA256 44f6945e699bd479fd23bb228ef3af526b65bc6250a08c59e5739d8ccb57d9fa
MD5 1890710bf4cc78ca6333d925249a40e9
BLAKE2b-256 6658e9bdca18f5257ba937e97d6a164a415782c15d307cbbe311f6788a0430e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for timezone_converter-0.16.0-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