isuckattimezones
Quickly figure out time in other timezones.
Install
Install isuckattimezones with npm:
$ npm install isuckattimezones
To use it as a command line tool, you can install it globally by adding -g
.
Usage
If you're using isuckattimezones with Node.js, you can require the module:
var isatz =
You can pass any number of strings representing places. It will figure it out with Google Maps.
// { 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.
// { local: 'D5T12:00 GMT',// oakland: 'D5T04:00 PDT' }
Command line examples
$ isatz london$ isatz 8:30 lisbon paris
Contributing
To contribute, clone this repo locally and commit your code on a separate branch.
Contacts
Bruno Vieira <mail@bmpvieira.com> @bmpvieira
License
isuckattimezones is licensed under the MIT license.
Check ChooseALicense.com for details.