Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 587 Bytes

HowToUpdateTZDB.md

File metadata and controls

10 lines (8 loc) · 587 Bytes

HowTo update tzdb data

Build Steps

  • Copy over latest data from moment-timezone:
    • moment-timezone's unpacked latest.json should be copied over to data/unpacked/latest.json.
    • moment-timezone's dated packed data, such as 2018h.json, can be copied over to data/packed/ if it isn't yet.
  • Run npm run transform-data to generate all the data/packed/latest*.json files. (Note that CI doesn't have to run this step since I checked the generated files in.)
  • Run npm run build-dist to build all the .js bundles based on the latest*.json files available.