tzone

simple time zone detection

npm install tzone
6 downloads in the last day
23 downloads in the last week
81 downloads in the last month

tzone

Takes in an optional UTC date object and figures out what time zone it's in, the best it can given the nature of js and time zone accuracy.

Install

With npm:

npm install tzone

Example

var tzone = require('tzone');
tzone.getLocation();

Returns:

US/Central

License

MIT

Todos

  • tests
npm loves you