Skip to content

shanebo/tzone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

simple time zone detection

Resources

License

Stars

Watchers

Forks

Packages

No packages published