Quickly figure out time in other timezones.
Install isuckattimezones with npm:
$ npm install isuckattimezones
To use it as a command line tool, you can install it globally by adding -g
.
If you're using isuckattimezones with Node.js, you can require the module:
var isatz = require('isuckattimezones')
You can pass any number of strings representing places. It will figure it out with Google Maps.
isatz(['oakland', 'new york'], console.log)
// { local: 'D5T02:24 GMT',
// oakland: 'D4T18:24 PDT',
// 'new york': 'D4T21:24 EDT' }
If the first string represents time, it will set local to that time and adjust the other timezones accordingly.
isatz(['12:00', 'oakland'], console.log)
// { local: 'D5T12:00 GMT',
// oakland: 'D5T04:00 PDT' }
$ isatz london
$ isatz 8:30 lisbon paris
To contribute, clone this repo locally and commit your code on a separate branch.
Bruno Vieira <mail@bmpvieira.com> @bmpvieira
isuckattimezones is licensed under the MIT license.
Check ChooseALicense.com for details.