$ timezone-compare
⚡️ Cli tool to get a list of times across 2 different timezones for easy checking.
Screenshot-cli
📋 Usage - ES6
;const tz = 'IST' 'GMT';const times = tz;// [[IST times as strings][GMT times as strings]] //const {times} = tz.getTimesAsMoments(); //If you need a 2d array of moments// [[IST times as moments][GMT times as moments]]
☁️ Usage - cli
$ npm install -g timezone-compare$ timezone-compare? Enter FROM timezone (America/New_York) IST? Enter TO timezone (Europe/London) GMT
Available timezones
List of available timezones are here.
Note : Timezones are fetched from moment-timezone
Moment Timezone -- getting a list timezones
Other arbitrary timezones can be added to src/informalTimezones.js
if needed.
👍 Like it?
Support timezone-compare by giving feedback or just by 🌟 starring the project!