tzone

simple time zone detection

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.

With npm:

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

Returns:

US/Central

MIT

  • tests