/timezone-grouping

A small script to iterate over a list of timezones and auto-groups them based on similarity.

Primary LanguageJavaScriptMIT LicenseMIT

How to

  1. npm install
  2. (OPTIONAL) Adapt config/database.js based on the data that you have. (*)
  3. (OPTIONAL) Adapt config/cities.js in case you want translations for your city names.
  4. Run npm run start
  5. Result will be printed into a file result_<now>.js

*) The script allows numbers for each TZ but you can also leave it empty. They are meant for cases where you want to let them sort by, e.g., number of people that live in the TZ.