Skip to content
This repository was archived by the owner on Jan 27, 2021. It is now read-only.
/ node-tz-db Public archive

Static database of timezone names and offsets scraped from wikipedia, current as of January 2015

Notifications You must be signed in to change notification settings

atuttle/node-tz-db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TZ-DB

A static database of timezone labels and both standard and DST offset values for each; as scraped from wikipedia.

var tz = require('tz-db');

tz.zones[407];
//=> Europe/London

tz.tz['Europe/London'];
//=> { std: '+00:00', dst: '+01:00' }

tz.tz['America/New_York'];
//=> { std: '-05:00', dst: '-04:00' }

Recompiling is easy:

cd tz-db
node src/compile.js

About

Static database of timezone names and offsets scraped from wikipedia, current as of January 2015

Resources

Stars

Watchers

Forks

Packages

No packages published