Permalink
32aaaa6 May 29, 2017
1 contributor

Users who have contributed to this file

30 lines (23 sloc) 558 Bytes

Globalize.loadTimeZone( ianaTzData )

This method allows you to load IANA time zone data to enable options.timeZone feature on date formatters and parsers.

Parameters

ianaTzData

A JSON object with zdumped IANA timezone data. Get the data via iana-tz-data.

Example

Globalize.loadTimeZone({
  "zoneData": {
    ...
    "America": {
      ...
      "New_York": {
        abbrs: [],
        untils: [],
        offsets: [],
        isdsts: []
      }
      ...
    }
  }
});