A command-line tool to display current time for different timezones
Project description
worldtimebuddy
Get current time for all possible timezone using CLI (exclusively for developers)
Version - 0.1.2
Usage: worldtimebuddy [OPTIONS]
Display current time for all timezones, major timezones, or a specific
timezone.
Options:
--format TEXT DateTime format string
--major Show only major timezones
-tz, --timezone TEXT Show time for a specific timezone
--list List all available timezones
--help Show this message and exit.
Usage:
1. Get all the timezones
`worldtimebuddy`
Africa/Abidjan 2024-10-06 13:49:11
Africa/Accra 2024-10-06 13:49:11
....
2. Get all timezone in particular format
`worldtimebuddy --format '%A, %B %d, %Y %I:%M %p %Z'`
Africa/Abidjan Sunday, October 06, 2024 01:49 PM GMT
Africa/Accra Sunday, October 06, 2024 01:49 PM GMT
Africa/Addis_Ababa Sunday, October 06, 2024 04:49 PM EAT
...
3. Get major timezones
Currenlty only IST/PST/PDT/UTC
`worldtimebuddy --major`
UTC 2024-10-06 13:50:26
PDT 2024-10-06 06:50:26
Asia/Kolkata 2024-10-06 19:20:26
UTC Sunday, October 06, 2024 01:50 PM UTC
PDT Sunday, October 06, 2024 06:50 AM PDT
Asia/Kolkata Sunday, October 06, 2024 07:20 PM IST
4. Listing all timezones
`worldtimebuddy --list`
Africa/Abidjan
Africa/Accra
Africa/Addis_Ababa
Africa/Algiers
...
5. Getting a particular timezone
`worldtimebuddy --timezone UTC`
UTC 2024-10-06 13:52:37
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
worldtimebuddy-0.1.2.tar.gz
(6.6 kB
view details)
Built Distribution
File details
Details for the file worldtimebuddy-0.1.2.tar.gz
.
File metadata
- Download URL: worldtimebuddy-0.1.2.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 587a06e9aceeada37a36767a5730ad10d547e801e277902292025fc7a7deff05 |
|
MD5 | 1f44d8988d8c43ab7b8e81eb5283f520 |
|
BLAKE2b-256 | b177e542397902202cd316d1c6476eb7b924e1031e31da72316713ffea2dd0b1 |
File details
Details for the file worldtimebuddy-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: worldtimebuddy-0.1.2-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de98f19d0a437c56abb5d4a90c96cf58cc4cebbedf46d904963a204c251ad1fa |
|
MD5 | ef9240c615b0c96d00abd6e3c2d1a727 |
|
BLAKE2b-256 | df1232f159399224d78df0f661b4e69ba1adfc530dfdc99f72b3845893d077c8 |