timezones
0.0.1 • Public • Published Timezone
Installation
node.js:
browser:
component install viatropos/timezone
Example
var timezone = require('timezone');
var a = new Date('2013-12-02 PST');
var b = timezone('cst', a);
assert(a < b);
assert(b.getHours() == a.getHours() + 2);
Notes
For a more robust timezone library (which are also much larger codebases), try:
Licence
MIT
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 0.0.1
11
Version History
- VersionDownloads (Last 7 Days)
- 0.0.1
11
Package Sidebar
Install
Weekly Downloads