https://github.com/411a/timezones-dataset
πΊοΈ Plenary dataset of countries, timezones, cities, and flags, sorted by shared timezones...
https://github.com/411a/timezones-dataset
countries country-codes country-flags country-list country-names dataset timezone-list timezones
Last synced: 3 months ago
JSON representation
πΊοΈ Plenary dataset of countries, timezones, cities, and flags, sorted by shared timezones...
- Host: GitHub
- URL: https://github.com/411a/timezones-dataset
- Owner: 411A
- Created: 2024-10-20T19:41:58.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-10-25T17:00:28.000Z (12 months ago)
- Last Synced: 2025-06-10T10:52:25.083Z (4 months ago)
- Topics: countries, country-codes, country-flags, country-list, country-names, dataset, timezone-list, timezones
- Language: Python
- Homepage:
- Size: 54.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### π Mutual Timezones Dataset: Countries, Country Codes, Cities and Flags
#### π Thanks to:
* [OpenAI's ChatGPT](https://chat.openai.com): For expediting the process.
* [devhammed](https://gist.github.com/devhammed/78cfbee0c36dfdaa4fce7e79c0d39208): For the `devhammed_countries-flags-codes.json` file.
* [dmfilipenko](https://github.com/dmfilipenko/timezones.json/blob/master/timezones.json): For the `dmfilipenko_timezones.json` file.
* [zeitverschiebung.net](https://zeitverschiebung.net/en/all-time-zones.html): For the timezone data with cities (resulting in `01_scraped-timezones-cities.json`).
* [flagpedia.net](https://flagpedia.net/emoji): For the emoji flags (resulting in `02_scraped-flags.json`).#### π° Project Steps:
π‘ The file names indicate the process themselves.
π£ Steps
01: Scraped timezones and cities.
02: Scraped emoji flags.
03: Identified countries with multiple timezones.
04: First, I consulted ChatGPT and provided the content of
03_counted-countries.json
to ask for a Python dictionary with capital or widely accepted timezones for countries with multiple timezones. Afterward, I manually researched and verified the results and adapted the city names (values) to match the city names in the JSON from step 01.
05: Created a JSON file (includes multiple timezones for each country).
06: Used the Python dictionary from step 04 to create a JSON file with unique timezones for each country!
#### π» Used by:
This work is done as part of my personal project, [UtAZBot](https://t.me/UtAZBot), an inline utility Telegram bot built with Rust, to display local times for all countries in sorted order.![]()