mde/timezone-js

tzdata now available as NPM modules

rogierschouten opened this issue · 3 comments

I've made the olsen timezone data available as a collection of NPM packages. These are preparsed JSON objects in the form that timezone-js needs.

There is one tzdata package that contains all zones, and then there are packages that contain subsets of the time zones:

  • tzdata
  • tzdata-africa
  • tzdata-antarctica
  • tzdata-asia
  • tzdata-australasia
  • tzdata-backward
  • tzdata-etcetera
  • tzdata-europe
  • tzdata-northamerica
  • tzdata-pacificnew
  • tzdata-southamerica
  • tzdata-systemv
  • tzdata-backward-utc

The advantage of these packages is that you don't need to download new TZ databases anymore, just running NPM update is enough.

Perhaps you could mention the use of these packages in your README.md?

mde commented

Would definitely merge a PR that updates the README with this info!

mde commented

Updates merged, thanks!