2018-04-26 15:15:53 +08:00
|
|
|
//! moment-timezone.js
|
2019-04-26 21:00:57 +08:00
|
|
|
//! version : 0.5.25
|
2018-04-26 15:15:53 +08:00
|
|
|
//! Copyright (c) JS Foundation and other contributors
|
|
|
|
//! license : MIT
|
|
|
|
//! github.com/moment/moment-timezone
|
|
|
|
|
|
|
|
(function (root, factory) {
|
|
|
|
"use strict";
|
|
|
|
|
|
|
|
/*global define*/
|
2019-04-26 21:00:57 +08:00
|
|
|
if (typeof module === 'object' && module.exports) {
|
2018-04-26 15:15:53 +08:00
|
|
|
module.exports = factory(require('moment')); // Node
|
2019-04-26 21:00:57 +08:00
|
|
|
} else if (typeof define === 'function' && define.amd) {
|
|
|
|
define(['moment'], factory); // AMD
|
2018-04-26 15:15:53 +08:00
|
|
|
} else {
|
|
|
|
factory(root.moment); // Browser
|
|
|
|
}
|
|
|
|
}(this, function (moment) {
|
|
|
|
"use strict";
|
|
|
|
|
|
|
|
// Do not load moment-timezone a second time.
|
|
|
|
// if (moment.tz !== undefined) {
|
|
|
|
// logError('Moment Timezone ' + moment.tz.version + ' was already loaded ' + (moment.tz.dataVersion ? 'with data from ' : 'without any data') + moment.tz.dataVersion);
|
|
|
|
// return moment;
|
|
|
|
// }
|
|
|
|
|
2019-04-26 21:00:57 +08:00
|
|
|
var VERSION = "0.5.25",
|
2018-04-26 15:15:53 +08:00
|
|
|
zones = {},
|
|
|
|
links = {},
|
|
|
|
names = {},
|
|
|
|
guesses = {},
|
2019-04-26 21:00:57 +08:00
|
|
|
cachedGuess;
|
|
|
|
|
|
|
|
if (!moment || typeof moment.version !== 'string') {
|
|
|
|
logError('Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/');
|
|
|
|
}
|
2018-04-26 15:15:53 +08:00
|
|
|
|
2019-04-26 21:00:57 +08:00
|
|
|
var momentVersion = moment.version.split('.'),
|
2018-04-26 15:15:53 +08:00
|
|
|
major = +momentVersion[0],
|
|
|
|
minor = +momentVersion[1];
|
|
|
|
|
|
|
|
// Moment.js version check
|
|
|
|
if (major < 2 || (major === 2 && minor < 6)) {
|
|
|
|
logError('Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js ' + moment.version + '. See momentjs.com');
|
|
|
|
}
|
|
|
|
|
|
|
|
/************************************
|
|
|
|
Unpacking
|
|
|
|
************************************/
|
|
|
|
|
|
|
|
function charCodeToInt(charCode) {
|
|
|
|
if (charCode > 96) {
|
|
|
|
return charCode - 87;
|
|
|
|
} else if (charCode > 64) {
|
|
|
|
return charCode - 29;
|
|
|
|
}
|
|
|
|
return charCode - 48;
|
|
|
|
}
|
|
|
|
|
|
|
|
function unpackBase60(string) {
|
|
|
|
var i = 0,
|
|
|
|
parts = string.split('.'),
|
|
|
|
whole = parts[0],
|
|
|
|
fractional = parts[1] || '',
|
|
|
|
multiplier = 1,
|
|
|
|
num,
|
|
|
|
out = 0,
|
|
|
|
sign = 1;
|
|
|
|
|
|
|
|
// handle negative numbers
|
|
|
|
if (string.charCodeAt(0) === 45) {
|
|
|
|
i = 1;
|
|
|
|
sign = -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
// handle digits before the decimal
|
|
|
|
for (i; i < whole.length; i++) {
|
|
|
|
num = charCodeToInt(whole.charCodeAt(i));
|
|
|
|
out = 60 * out + num;
|
|
|
|
}
|
|
|
|
|
|
|
|
// handle digits after the decimal
|
|
|
|
for (i = 0; i < fractional.length; i++) {
|
|
|
|
multiplier = multiplier / 60;
|
|
|
|
num = charCodeToInt(fractional.charCodeAt(i));
|
|
|
|
out += num * multiplier;
|
|
|
|
}
|
|
|
|
|
|
|
|
return out * sign;
|
|
|
|
}
|
|
|
|
|
|
|
|
function arrayToInt (array) {
|
|
|
|
for (var i = 0; i < array.length; i++) {
|
|
|
|
array[i] = unpackBase60(array[i]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function intToUntil (array, length) {
|
|
|
|
for (var i = 0; i < length; i++) {
|
|
|
|
array[i] = Math.round((array[i - 1] || 0) + (array[i] * 60000)); // minutes to milliseconds
|
|
|
|
}
|
|
|
|
|
|
|
|
array[length - 1] = Infinity;
|
|
|
|
}
|
|
|
|
|
|
|
|
function mapIndices (source, indices) {
|
|
|
|
var out = [], i;
|
|
|
|
|
|
|
|
for (i = 0; i < indices.length; i++) {
|
|
|
|
out[i] = source[indices[i]];
|
|
|
|
}
|
|
|
|
|
|
|
|
return out;
|
|
|
|
}
|
|
|
|
|
|
|
|
function unpack (string) {
|
|
|
|
var data = string.split('|'),
|
|
|
|
offsets = data[2].split(' '),
|
|
|
|
indices = data[3].split(''),
|
|
|
|
untils = data[4].split(' ');
|
|
|
|
|
|
|
|
arrayToInt(offsets);
|
|
|
|
arrayToInt(indices);
|
|
|
|
arrayToInt(untils);
|
|
|
|
|
|
|
|
intToUntil(untils, indices.length);
|
|
|
|
|
|
|
|
return {
|
|
|
|
name : data[0],
|
|
|
|
abbrs : mapIndices(data[1].split(' '), indices),
|
|
|
|
offsets : mapIndices(offsets, indices),
|
|
|
|
untils : untils,
|
|
|
|
population : data[5] | 0
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
/************************************
|
|
|
|
Zone object
|
|
|
|
************************************/
|
|
|
|
|
|
|
|
function Zone (packedString) {
|
|
|
|
if (packedString) {
|
|
|
|
this._set(unpack(packedString));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Zone.prototype = {
|
|
|
|
_set : function (unpacked) {
|
|
|
|
this.name = unpacked.name;
|
|
|
|
this.abbrs = unpacked.abbrs;
|
|
|
|
this.untils = unpacked.untils;
|
|
|
|
this.offsets = unpacked.offsets;
|
|
|
|
this.population = unpacked.population;
|
|
|
|
},
|
|
|
|
|
|
|
|
_index : function (timestamp) {
|
|
|
|
var target = +timestamp,
|
|
|
|
untils = this.untils,
|
|
|
|
i;
|
|
|
|
|
|
|
|
for (i = 0; i < untils.length; i++) {
|
|
|
|
if (target < untils[i]) {
|
|
|
|
return i;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
parse : function (timestamp) {
|
|
|
|
var target = +timestamp,
|
|
|
|
offsets = this.offsets,
|
|
|
|
untils = this.untils,
|
|
|
|
max = untils.length - 1,
|
|
|
|
offset, offsetNext, offsetPrev, i;
|
|
|
|
|
|
|
|
for (i = 0; i < max; i++) {
|
|
|
|
offset = offsets[i];
|
|
|
|
offsetNext = offsets[i + 1];
|
|
|
|
offsetPrev = offsets[i ? i - 1 : i];
|
|
|
|
|
|
|
|
if (offset < offsetNext && tz.moveAmbiguousForward) {
|
|
|
|
offset = offsetNext;
|
|
|
|
} else if (offset > offsetPrev && tz.moveInvalidForward) {
|
|
|
|
offset = offsetPrev;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (target < untils[i] - (offset * 60000)) {
|
|
|
|
return offsets[i];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return offsets[max];
|
|
|
|
},
|
|
|
|
|
|
|
|
abbr : function (mom) {
|
|
|
|
return this.abbrs[this._index(mom)];
|
|
|
|
},
|
|
|
|
|
|
|
|
offset : function (mom) {
|
|
|
|
logError("zone.offset has been deprecated in favor of zone.utcOffset");
|
|
|
|
return this.offsets[this._index(mom)];
|
|
|
|
},
|
|
|
|
|
|
|
|
utcOffset : function (mom) {
|
|
|
|
return this.offsets[this._index(mom)];
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
/************************************
|
|
|
|
Current Timezone
|
|
|
|
************************************/
|
|
|
|
|
|
|
|
function OffsetAt(at) {
|
|
|
|
var timeString = at.toTimeString();
|
|
|
|
var abbr = timeString.match(/\([a-z ]+\)/i);
|
|
|
|
if (abbr && abbr[0]) {
|
|
|
|
// 17:56:31 GMT-0600 (CST)
|
|
|
|
// 17:56:31 GMT-0600 (Central Standard Time)
|
|
|
|
abbr = abbr[0].match(/[A-Z]/g);
|
|
|
|
abbr = abbr ? abbr.join('') : undefined;
|
|
|
|
} else {
|
|
|
|
// 17:56:31 CST
|
|
|
|
// 17:56:31 GMT+0800 (台北標準時間)
|
|
|
|
abbr = timeString.match(/[A-Z]{3,5}/g);
|
|
|
|
abbr = abbr ? abbr[0] : undefined;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (abbr === 'GMT') {
|
|
|
|
abbr = undefined;
|
|
|
|
}
|
|
|
|
|
|
|
|
this.at = +at;
|
|
|
|
this.abbr = abbr;
|
|
|
|
this.offset = at.getTimezoneOffset();
|
|
|
|
}
|
|
|
|
|
|
|
|
function ZoneScore(zone) {
|
|
|
|
this.zone = zone;
|
|
|
|
this.offsetScore = 0;
|
|
|
|
this.abbrScore = 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
ZoneScore.prototype.scoreOffsetAt = function (offsetAt) {
|
|
|
|
this.offsetScore += Math.abs(this.zone.utcOffset(offsetAt.at) - offsetAt.offset);
|
|
|
|
if (this.zone.abbr(offsetAt.at).replace(/[^A-Z]/g, '') !== offsetAt.abbr) {
|
|
|
|
this.abbrScore++;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
function findChange(low, high) {
|
|
|
|
var mid, diff;
|
|
|
|
|
|
|
|
while ((diff = ((high.at - low.at) / 12e4 | 0) * 6e4)) {
|
|
|
|
mid = new OffsetAt(new Date(low.at + diff));
|
|
|
|
if (mid.offset === low.offset) {
|
|
|
|
low = mid;
|
|
|
|
} else {
|
|
|
|
high = mid;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return low;
|
|
|
|
}
|
|
|
|
|
|
|
|
function userOffsets() {
|
|
|
|
var startYear = new Date().getFullYear() - 2,
|
|
|
|
last = new OffsetAt(new Date(startYear, 0, 1)),
|
|
|
|
offsets = [last],
|
|
|
|
change, next, i;
|
|
|
|
|
|
|
|
for (i = 1; i < 48; i++) {
|
|
|
|
next = new OffsetAt(new Date(startYear, i, 1));
|
|
|
|
if (next.offset !== last.offset) {
|
|
|
|
change = findChange(last, next);
|
|
|
|
offsets.push(change);
|
|
|
|
offsets.push(new OffsetAt(new Date(change.at + 6e4)));
|
|
|
|
}
|
|
|
|
last = next;
|
|
|
|
}
|
|
|
|
|
|
|
|
for (i = 0; i < 4; i++) {
|
|
|
|
offsets.push(new OffsetAt(new Date(startYear + i, 0, 1)));
|
|
|
|
offsets.push(new OffsetAt(new Date(startYear + i, 6, 1)));
|
|
|
|
}
|
|
|
|
|
|
|
|
return offsets;
|
|
|
|
}
|
|
|
|
|
|
|
|
function sortZoneScores (a, b) {
|
|
|
|
if (a.offsetScore !== b.offsetScore) {
|
|
|
|
return a.offsetScore - b.offsetScore;
|
|
|
|
}
|
|
|
|
if (a.abbrScore !== b.abbrScore) {
|
|
|
|
return a.abbrScore - b.abbrScore;
|
|
|
|
}
|
|
|
|
return b.zone.population - a.zone.population;
|
|
|
|
}
|
|
|
|
|
|
|
|
function addToGuesses (name, offsets) {
|
|
|
|
var i, offset;
|
|
|
|
arrayToInt(offsets);
|
|
|
|
for (i = 0; i < offsets.length; i++) {
|
|
|
|
offset = offsets[i];
|
|
|
|
guesses[offset] = guesses[offset] || {};
|
|
|
|
guesses[offset][name] = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function guessesForUserOffsets (offsets) {
|
|
|
|
var offsetsLength = offsets.length,
|
|
|
|
filteredGuesses = {},
|
|
|
|
out = [],
|
|
|
|
i, j, guessesOffset;
|
|
|
|
|
|
|
|
for (i = 0; i < offsetsLength; i++) {
|
|
|
|
guessesOffset = guesses[offsets[i].offset] || {};
|
|
|
|
for (j in guessesOffset) {
|
|
|
|
if (guessesOffset.hasOwnProperty(j)) {
|
|
|
|
filteredGuesses[j] = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
for (i in filteredGuesses) {
|
|
|
|
if (filteredGuesses.hasOwnProperty(i)) {
|
|
|
|
out.push(names[i]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return out;
|
|
|
|
}
|
|
|
|
|
|
|
|
function rebuildGuess () {
|
|
|
|
|
|
|
|
// use Intl API when available and returning valid time zone
|
|
|
|
try {
|
|
|
|
var intlName = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
|
|
if (intlName && intlName.length > 3) {
|
|
|
|
var name = names[normalizeName(intlName)];
|
|
|
|
if (name) {
|
|
|
|
return name;
|
|
|
|
}
|
|
|
|
logError("Moment Timezone found " + intlName + " from the Intl api, but did not have that data loaded.");
|
|
|
|
}
|
|
|
|
} catch (e) {
|
|
|
|
// Intl unavailable, fall back to manual guessing.
|
|
|
|
}
|
|
|
|
|
|
|
|
var offsets = userOffsets(),
|
|
|
|
offsetsLength = offsets.length,
|
|
|
|
guesses = guessesForUserOffsets(offsets),
|
|
|
|
zoneScores = [],
|
|
|
|
zoneScore, i, j;
|
|
|
|
|
|
|
|
for (i = 0; i < guesses.length; i++) {
|
|
|
|
zoneScore = new ZoneScore(getZone(guesses[i]), offsetsLength);
|
|
|
|
for (j = 0; j < offsetsLength; j++) {
|
|
|
|
zoneScore.scoreOffsetAt(offsets[j]);
|
|
|
|
}
|
|
|
|
zoneScores.push(zoneScore);
|
|
|
|
}
|
|
|
|
|
|
|
|
zoneScores.sort(sortZoneScores);
|
|
|
|
|
|
|
|
return zoneScores.length > 0 ? zoneScores[0].zone.name : undefined;
|
|
|
|
}
|
|
|
|
|
|
|
|
function guess (ignoreCache) {
|
|
|
|
if (!cachedGuess || ignoreCache) {
|
|
|
|
cachedGuess = rebuildGuess();
|
|
|
|
}
|
|
|
|
return cachedGuess;
|
|
|
|
}
|
|
|
|
|
|
|
|
/************************************
|
|
|
|
Global Methods
|
|
|
|
************************************/
|
|
|
|
|
|
|
|
function normalizeName (name) {
|
|
|
|
return (name || '').toLowerCase().replace(/\//g, '_');
|
|
|
|
}
|
|
|
|
|
|
|
|
function addZone (packed) {
|
|
|
|
var i, name, split, normalized;
|
|
|
|
|
|
|
|
if (typeof packed === "string") {
|
|
|
|
packed = [packed];
|
|
|
|
}
|
|
|
|
|
|
|
|
for (i = 0; i < packed.length; i++) {
|
|
|
|
split = packed[i].split('|');
|
|
|
|
name = split[0];
|
|
|
|
normalized = normalizeName(name);
|
|
|
|
zones[normalized] = packed[i];
|
|
|
|
names[normalized] = name;
|
|
|
|
addToGuesses(normalized, split[2].split(' '));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function getZone (name, caller) {
|
2019-04-26 21:00:57 +08:00
|
|
|
|
2018-04-26 15:15:53 +08:00
|
|
|
name = normalizeName(name);
|
|
|
|
|
|
|
|
var zone = zones[name];
|
|
|
|
var link;
|
|
|
|
|
|
|
|
if (zone instanceof Zone) {
|
|
|
|
return zone;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (typeof zone === 'string') {
|
|
|
|
zone = new Zone(zone);
|
|
|
|
zones[name] = zone;
|
|
|
|
return zone;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Pass getZone to prevent recursion more than 1 level deep
|
|
|
|
if (links[name] && caller !== getZone && (link = getZone(links[name], getZone))) {
|
|
|
|
zone = zones[name] = new Zone();
|
|
|
|
zone._set(link);
|
|
|
|
zone.name = names[name];
|
|
|
|
return zone;
|
|
|
|
}
|
|
|
|
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
function getNames () {
|
|
|
|
var i, out = [];
|
|
|
|
|
|
|
|
for (i in names) {
|
|
|
|
if (names.hasOwnProperty(i) && (zones[i] || zones[links[i]]) && names[i]) {
|
|
|
|
out.push(names[i]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return out.sort();
|
|
|
|
}
|
|
|
|
|
|
|
|
function addLink (aliases) {
|
|
|
|
var i, alias, normal0, normal1;
|
|
|
|
|
|
|
|
if (typeof aliases === "string") {
|
|
|
|
aliases = [aliases];
|
|
|
|
}
|
|
|
|
|
|
|
|
for (i = 0; i < aliases.length; i++) {
|
|
|
|
alias = aliases[i].split('|');
|
|
|
|
|
|
|
|
normal0 = normalizeName(alias[0]);
|
|
|
|
normal1 = normalizeName(alias[1]);
|
|
|
|
|
|
|
|
links[normal0] = normal1;
|
|
|
|
names[normal0] = alias[0];
|
|
|
|
|
|
|
|
links[normal1] = normal0;
|
|
|
|
names[normal1] = alias[1];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function loadData (data) {
|
|
|
|
addZone(data.zones);
|
|
|
|
addLink(data.links);
|
|
|
|
tz.dataVersion = data.version;
|
|
|
|
}
|
|
|
|
|
|
|
|
function zoneExists (name) {
|
|
|
|
if (!zoneExists.didShowError) {
|
|
|
|
zoneExists.didShowError = true;
|
|
|
|
logError("moment.tz.zoneExists('" + name + "') has been deprecated in favor of !moment.tz.zone('" + name + "')");
|
|
|
|
}
|
|
|
|
return !!getZone(name);
|
|
|
|
}
|
|
|
|
|
|
|
|
function needsOffset (m) {
|
|
|
|
var isUnixTimestamp = (m._f === 'X' || m._f === 'x');
|
|
|
|
return !!(m._a && (m._tzm === undefined) && !isUnixTimestamp);
|
|
|
|
}
|
|
|
|
|
|
|
|
function logError (message) {
|
|
|
|
if (typeof console !== 'undefined' && typeof console.error === 'function') {
|
|
|
|
console.error(message);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/************************************
|
|
|
|
moment.tz namespace
|
|
|
|
************************************/
|
|
|
|
|
|
|
|
function tz (input) {
|
|
|
|
var args = Array.prototype.slice.call(arguments, 0, -1),
|
|
|
|
name = arguments[arguments.length - 1],
|
|
|
|
zone = getZone(name),
|
|
|
|
out = moment.utc.apply(null, args);
|
|
|
|
|
|
|
|
if (zone && !moment.isMoment(input) && needsOffset(out)) {
|
|
|
|
out.add(zone.parse(out), 'minutes');
|
|
|
|
}
|
|
|
|
|
|
|
|
out.tz(name);
|
|
|
|
|
|
|
|
return out;
|
|
|
|
}
|
|
|
|
|
|
|
|
tz.version = VERSION;
|
|
|
|
tz.dataVersion = '';
|
|
|
|
tz._zones = zones;
|
|
|
|
tz._links = links;
|
|
|
|
tz._names = names;
|
|
|
|
tz.add = addZone;
|
|
|
|
tz.link = addLink;
|
|
|
|
tz.load = loadData;
|
|
|
|
tz.zone = getZone;
|
|
|
|
tz.zoneExists = zoneExists; // deprecated in 0.1.0
|
|
|
|
tz.guess = guess;
|
|
|
|
tz.names = getNames;
|
|
|
|
tz.Zone = Zone;
|
|
|
|
tz.unpack = unpack;
|
|
|
|
tz.unpackBase60 = unpackBase60;
|
|
|
|
tz.needsOffset = needsOffset;
|
|
|
|
tz.moveInvalidForward = true;
|
|
|
|
tz.moveAmbiguousForward = false;
|
|
|
|
|
|
|
|
/************************************
|
|
|
|
Interface with Moment.js
|
|
|
|
************************************/
|
|
|
|
|
|
|
|
var fn = moment.fn;
|
|
|
|
|
|
|
|
moment.tz = tz;
|
|
|
|
|
|
|
|
moment.defaultZone = null;
|
|
|
|
|
|
|
|
moment.updateOffset = function (mom, keepTime) {
|
|
|
|
var zone = moment.defaultZone,
|
|
|
|
offset;
|
|
|
|
|
|
|
|
if (mom._z === undefined) {
|
|
|
|
if (zone && needsOffset(mom) && !mom._isUTC) {
|
|
|
|
mom._d = moment.utc(mom._a)._d;
|
|
|
|
mom.utc().add(zone.parse(mom), 'minutes');
|
|
|
|
}
|
|
|
|
mom._z = zone;
|
|
|
|
}
|
|
|
|
if (mom._z) {
|
|
|
|
offset = mom._z.utcOffset(mom);
|
|
|
|
if (Math.abs(offset) < 16) {
|
|
|
|
offset = offset / 60;
|
|
|
|
}
|
|
|
|
if (mom.utcOffset !== undefined) {
|
2019-04-26 21:00:57 +08:00
|
|
|
var z = mom._z;
|
2018-04-26 15:15:53 +08:00
|
|
|
mom.utcOffset(-offset, keepTime);
|
2019-04-26 21:00:57 +08:00
|
|
|
mom._z = z;
|
2018-04-26 15:15:53 +08:00
|
|
|
} else {
|
|
|
|
mom.zone(offset, keepTime);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
fn.tz = function (name, keepTime) {
|
|
|
|
if (name) {
|
2019-04-26 21:00:57 +08:00
|
|
|
if (typeof name !== 'string') {
|
|
|
|
throw new Error('Time zone name must be a string, got ' + name + ' [' + typeof name + ']');
|
|
|
|
}
|
2018-04-26 15:15:53 +08:00
|
|
|
this._z = getZone(name);
|
|
|
|
if (this._z) {
|
|
|
|
moment.updateOffset(this, keepTime);
|
|
|
|
} else {
|
|
|
|
logError("Moment Timezone has no data for " + name + ". See http://momentjs.com/timezone/docs/#/data-loading/.");
|
|
|
|
}
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
if (this._z) { return this._z.name; }
|
|
|
|
};
|
|
|
|
|
|
|
|
function abbrWrap (old) {
|
|
|
|
return function () {
|
|
|
|
if (this._z) { return this._z.abbr(this); }
|
|
|
|
return old.call(this);
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
function resetZoneWrap (old) {
|
|
|
|
return function () {
|
|
|
|
this._z = null;
|
|
|
|
return old.apply(this, arguments);
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2019-04-26 21:00:57 +08:00
|
|
|
function resetZoneWrap2 (old) {
|
|
|
|
return function () {
|
|
|
|
if (arguments.length > 0) this._z = null;
|
|
|
|
return old.apply(this, arguments);
|
|
|
|
};
|
|
|
|
}
|
2018-04-26 15:15:53 +08:00
|
|
|
|
2019-04-26 21:00:57 +08:00
|
|
|
fn.zoneName = abbrWrap(fn.zoneName);
|
|
|
|
fn.zoneAbbr = abbrWrap(fn.zoneAbbr);
|
|
|
|
fn.utc = resetZoneWrap(fn.utc);
|
|
|
|
fn.local = resetZoneWrap(fn.local);
|
|
|
|
fn.utcOffset = resetZoneWrap2(fn.utcOffset);
|
|
|
|
|
2018-04-26 15:15:53 +08:00
|
|
|
moment.tz.setDefault = function(name) {
|
|
|
|
if (major < 2 || (major === 2 && minor < 9)) {
|
|
|
|
logError('Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js ' + moment.version + '.');
|
|
|
|
}
|
|
|
|
moment.defaultZone = name ? getZone(name) : null;
|
|
|
|
return moment;
|
|
|
|
};
|
|
|
|
|
|
|
|
// Cloning a moment should include the _z property.
|
|
|
|
var momentProperties = moment.momentProperties;
|
|
|
|
if (Object.prototype.toString.call(momentProperties) === '[object Array]') {
|
|
|
|
// moment 2.8.1+
|
|
|
|
momentProperties.push('_z');
|
|
|
|
momentProperties.push('_a');
|
|
|
|
} else if (momentProperties) {
|
|
|
|
// moment 2.7.0
|
|
|
|
momentProperties._z = null;
|
|
|
|
}
|
|
|
|
|
|
|
|
loadData({
|
2019-04-26 21:00:57 +08:00
|
|
|
"version": "2019a",
|
2018-04-26 15:15:53 +08:00
|
|
|
"zones": [
|
2019-05-08 11:42:49 +08:00
|
|
|
"Africa/Abidjan|GMT|0|0||48e5",
|
|
|
|
"Africa/Nairobi|EAT|-30|0||47e5",
|
|
|
|
"Africa/Algiers|CET|-10|0||26e5",
|
|
|
|
"Africa/Lagos|WAT|-10|0||17e6",
|
|
|
|
"Africa/Maputo|CAT|-20|0||26e5",
|
|
|
|
"Africa/Cairo|EET EEST|-20 -30|01010|1M2m0 gL0 e10 mn0|15e6",
|
|
|
|
"Africa/Casablanca|+00 +01|0 -10|01010101010101010101010101010101|1LHC0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00|32e5",
|
|
|
|
"Europe/Paris|CET CEST|-10 -20|01010101010101010101010|1LHB0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|11e6",
|
|
|
|
"Africa/Johannesburg|SAST|-20|0||84e5",
|
|
|
|
"Africa/Khartoum|EAT CAT|-30 -20|01|1Usl0|51e5",
|
|
|
|
"Africa/Sao_Tome|GMT WAT|0 -10|010|1UQN0 2q00",
|
|
|
|
"Africa/Tripoli|EET|-20|0||11e5",
|
|
|
|
"Africa/Windhoek|CAT WAT|-20 -10|010101010|1LKo0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|32e4",
|
|
|
|
"America/Adak|HST HDT|a0 90|01010101010101010101010|1Lzo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|326",
|
|
|
|
"America/Anchorage|AKST AKDT|90 80|01010101010101010101010|1Lzn0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|30e4",
|
|
|
|
"America/Santo_Domingo|AST|40|0||29e5",
|
|
|
|
"America/Fortaleza|-03|30|0||34e5",
|
|
|
|
"America/Asuncion|-03 -04|30 40|01010101010101010101010|1LEP0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0|28e5",
|
|
|
|
"America/Panama|EST|50|0||15e5",
|
|
|
|
"America/Mexico_City|CST CDT|60 50|01010101010101010101010|1LKw0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0|20e6",
|
|
|
|
"America/Managua|CST|60|0||22e5",
|
|
|
|
"America/La_Paz|-04|40|0||19e5",
|
|
|
|
"America/Lima|-05|50|0||11e6",
|
|
|
|
"America/Denver|MST MDT|70 60|01010101010101010101010|1Lzl0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e5",
|
|
|
|
"America/Campo_Grande|-03 -04|30 40|01010101010101010101010|1LqP0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0 1HB0 FX0 1HB0 IL0 1HB0 FX0 1HB0 IL0 1EN0 FX0 1HB0|77e4",
|
|
|
|
"America/Cancun|CST CDT EST|60 50 50|0102|1LKw0 1lb0 Dd0|63e4",
|
|
|
|
"America/Caracas|-0430 -04|4u 40|01|1QMT0|29e5",
|
|
|
|
"America/Chicago|CST CDT|60 50|01010101010101010101010|1Lzk0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|92e5",
|
|
|
|
"America/Chihuahua|MST MDT|70 60|01010101010101010101010|1LKx0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0|81e4",
|
|
|
|
"America/Phoenix|MST|70|0||42e5",
|
|
|
|
"America/Los_Angeles|PST PDT|80 70|01010101010101010101010|1Lzm0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e6",
|
|
|
|
"America/New_York|EST EDT|50 40|01010101010101010101010|1Lzj0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e6",
|
|
|
|
"America/Fort_Nelson|PST PDT MST|80 70 70|0102|1Lzm0 1zb0 Op0|39e2",
|
|
|
|
"America/Halifax|AST ADT|40 30|01010101010101010101010|1Lzi0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|39e4",
|
|
|
|
"America/Godthab|-03 -02|30 20|01010101010101010101010|1LHB0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|17e3",
|
|
|
|
"America/Grand_Turk|EST EDT AST|50 40 40|0101210101010101010|1Lzj0 1zb0 Op0 1zb0 5Ip0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e2",
|
|
|
|
"America/Havana|CST CDT|50 40|01010101010101010101010|1Lzh0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0|21e5",
|
|
|
|
"America/Metlakatla|PST AKST AKDT|80 90 80|012121201212121212121|1PAa0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 uM0 jB0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2",
|
|
|
|
"America/Miquelon|-03 -02|30 20|01010101010101010101010|1Lzh0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|61e2",
|
|
|
|
"America/Montevideo|-02 -03|20 30|0101|1Lzg0 1o10 11z0|17e5",
|
|
|
|
"America/Noronha|-02|20|0||30e2",
|
|
|
|
"America/Port-au-Prince|EST EDT|50 40|010101010101010101010|1Lzj0 1zb0 Op0 1zb0 3iN0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5",
|
|
|
|
"Antarctica/Palmer|-03 -04|30 40|01010|1LSP0 Rd0 46n0 Ap0|40",
|
|
|
|
"America/Santiago|-03 -04|30 40|010101010101010101010|1LSP0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0|62e5",
|
|
|
|
"America/Sao_Paulo|-02 -03|20 30|01010101010101010101010|1LqO0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0 1HB0 FX0 1HB0 IL0 1HB0 FX0 1HB0 IL0 1EN0 FX0 1HB0|20e6",
|
|
|
|
"Atlantic/Azores|-01 +00|10 0|01010101010101010101010|1LHB0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|25e4",
|
|
|
|
"America/St_Johns|NST NDT|3u 2u|01010101010101010101010|1Lzhu 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4",
|
|
|
|
"Antarctica/Casey|+08 +11|-80 -b0|010|1RWg0 3m10|10",
|
|
|
|
"Asia/Bangkok|+07|-70|0||15e6",
|
|
|
|
"Pacific/Port_Moresby|+10|-a0|0||25e4",
|
|
|
|
"Pacific/Guadalcanal|+11|-b0|0||11e4",
|
|
|
|
"Asia/Tashkent|+05|-50|0||23e5",
|
|
|
|
"Pacific/Auckland|NZDT NZST|-d0 -c0|01010101010101010101010|1LKe0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00|14e5",
|
|
|
|
"Asia/Baghdad|+03|-30|0||66e5",
|
|
|
|
"Antarctica/Troll|+00 +02|0 -20|01010101010101010101010|1LHB0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|40",
|
|
|
|
"Asia/Dhaka|+06|-60|0||16e6",
|
|
|
|
"Asia/Amman|EET EEST|-20 -30|01010101010101010101010|1LGK0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|25e5",
|
|
|
|
"Asia/Kamchatka|+12|-c0|0||18e4",
|
|
|
|
"Asia/Baku|+04 +05|-40 -50|01010|1LHA0 1o00 11A0 1o00|27e5",
|
|
|
|
"Asia/Barnaul|+07 +06|-70 -60|010|1N7v0 3rd0",
|
|
|
|
"Asia/Beirut|EET EEST|-20 -30|01010101010101010101010|1LHy0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0|22e5",
|
|
|
|
"Asia/Kuala_Lumpur|+08|-80|0||71e5",
|
|
|
|
"Asia/Kolkata|IST|-5u|0||15e6",
|
|
|
|
"Asia/Chita|+10 +08 +09|-a0 -80 -90|012|1N7s0 3re0|33e4",
|
|
|
|
"Asia/Ulaanbaatar|+08 +09|-80 -90|01010|1O8G0 1cJ0 1cP0 1cJ0|12e5",
|
|
|
|
"Asia/Shanghai|CST|-80|0||23e6",
|
|
|
|
"Asia/Colombo|+0530|-5u|0||22e5",
|
|
|
|
"Asia/Damascus|EET EEST|-20 -30|01010101010101010101010|1LGK0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0|26e5",
|
|
|
|
"Asia/Dili|+09|-90|0||19e4",
|
|
|
|
"Asia/Dubai|+04|-40|0||39e5",
|
|
|
|
"Asia/Famagusta|EET EEST +03|-20 -30 -30|0101012010101010101010|1LHB0 1o00 11A0 1o00 11A0 15U0 2Ks0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00",
|
|
|
|
"Asia/Gaza|EET EEST|-20 -30|01010101010101010101010|1LGK0 1nX0 1210 1nz0 1220 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0|18e5",
|
|
|
|
"Asia/Hong_Kong|HKT|-80|0||73e5",
|
|
|
|
"Asia/Hovd|+07 +08|-70 -80|01010|1O8H0 1cJ0 1cP0 1cJ0|81e3",
|
|
|
|
"Asia/Irkutsk|+09 +08|-90 -80|01|1N7t0|60e4",
|
|
|
|
"Europe/Istanbul|EET EEST +03|-20 -30 -30|0101012|1LI10 1nA0 11A0 1tA0 U00 15w0|13e6",
|
|
|
|
"Asia/Jakarta|WIB|-70|0||31e6",
|
|
|
|
"Asia/Jayapura|WIT|-90|0||26e4",
|
|
|
|
"Asia/Jerusalem|IST IDT|-20 -30|01010101010101010101010|1LGM0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0|81e4",
|
|
|
|
"Asia/Kabul|+0430|-4u|0||46e5",
|
|
|
|
"Asia/Karachi|PKT|-50|0||24e6",
|
|
|
|
"Asia/Kathmandu|+0545|-5J|0||12e5",
|
|
|
|
"Asia/Yakutsk|+10 +09|-a0 -90|01|1N7s0|28e4",
|
|
|
|
"Asia/Krasnoyarsk|+08 +07|-80 -70|01|1N7u0|10e5",
|
|
|
|
"Asia/Magadan|+12 +10 +11|-c0 -a0 -b0|012|1N7q0 3Cq0|95e3",
|
|
|
|
"Asia/Makassar|WITA|-80|0||15e5",
|
|
|
|
"Asia/Manila|PST|-80|0||24e6",
|
|
|
|
"Europe/Athens|EET EEST|-20 -30|01010101010101010101010|1LHB0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|35e5",
|
|
|
|
"Asia/Novosibirsk|+07 +06|-70 -60|010|1N7v0 4eN0|15e5",
|
|
|
|
"Asia/Omsk|+07 +06|-70 -60|01|1N7v0|12e5",
|
|
|
|
"Asia/Pyongyang|KST KST|-90 -8u|010|1P4D0 6BA0|29e5",
|
|
|
|
"Asia/Qyzylorda|+06 +05|-60 -50|01|1Xei0|73e4",
|
|
|
|
"Asia/Rangoon|+0630|-6u|0||48e5",
|
|
|
|
"Asia/Sakhalin|+11 +10|-b0 -a0|010|1N7r0 3rd0|58e4",
|
|
|
|
"Asia/Seoul|KST|-90|0||23e6",
|
|
|
|
"Asia/Srednekolymsk|+12 +11|-c0 -b0|01|1N7q0|35e2",
|
|
|
|
"Asia/Tehran|+0330 +0430|-3u -4u|01010101010101010101010|1LEku 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0|14e6",
|
|
|
|
"Asia/Tokyo|JST|-90|0||38e6",
|
|
|
|
"Asia/Tomsk|+07 +06|-70 -60|010|1N7v0 3Qp0|10e5",
|
|
|
|
"Asia/Vladivostok|+11 +10|-b0 -a0|01|1N7r0|60e4",
|
|
|
|
"Asia/Yekaterinburg|+06 +05|-60 -50|01|1N7w0|14e5",
|
|
|
|
"Europe/Lisbon|WET WEST|0 -10|01010101010101010101010|1LHB0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|27e5",
|
|
|
|
"Atlantic/Cape_Verde|-01|10|0||50e4",
|
|
|
|
"Australia/Sydney|AEDT AEST|-b0 -a0|01010101010101010101010|1LKg0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0|40e5",
|
|
|
|
"Australia/Adelaide|ACDT ACST|-au -9u|01010101010101010101010|1LKgu 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0|11e5",
|
|
|
|
"Australia/Brisbane|AEST|-a0|0||20e5",
|
|
|
|
"Australia/Darwin|ACST|-9u|0||12e4",
|
|
|
|
"Australia/Eucla|+0845|-8J|0||368",
|
|
|
|
"Australia/Lord_Howe|+11 +1030|-b0 -au|01010101010101010101010|1LKf0 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu|347",
|
|
|
|
"Australia/Perth|AWST|-80|0||18e5",
|
|
|
|
"Pacific/Easter|-05 -06|50 60|010101010101010101010|1LSP0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0|30e2",
|
|
|
|
"Europe/Dublin|GMT IST|0 -10|01010101010101010101010|1LHB0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|12e5",
|
2019-04-26 21:00:57 +08:00
|
|
|
"Etc/GMT-1|+01|-10|0|",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Pacific/Fakaofo|+13|-d0|0||483",
|
|
|
|
"Pacific/Kiritimati|+14|-e0|0||51e2",
|
2019-04-26 21:00:57 +08:00
|
|
|
"Etc/GMT-2|+02|-20|0|",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Pacific/Tahiti|-10|a0|0||18e4",
|
|
|
|
"Pacific/Niue|-11|b0|0||12e2",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Etc/GMT+12|-12|c0|0|",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Pacific/Galapagos|-06|60|0||25e3",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Etc/GMT+7|-07|70|0|",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Pacific/Pitcairn|-08|80|0||56",
|
|
|
|
"Pacific/Gambier|-09|90|0||125",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Etc/UTC|UTC|0|0|",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Europe/Ulyanovsk|+04 +03|-40 -30|010|1N7y0 3rd0|13e5",
|
|
|
|
"Europe/London|GMT BST|0 -10|01010101010101010101010|1LHB0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|10e6",
|
|
|
|
"Europe/Chisinau|EET EEST|-20 -30|01010101010101010101010|1LHA0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|67e4",
|
|
|
|
"Europe/Kaliningrad|+03 EET|-30 -20|01|1N7z0|44e4",
|
|
|
|
"Europe/Kirov|+04 +03|-40 -30|01|1N7y0|48e4",
|
|
|
|
"Europe/Moscow|MSK MSK|-40 -30|01|1N7y0|16e6",
|
|
|
|
"Europe/Saratov|+04 +03|-40 -30|010|1N7y0 5810",
|
|
|
|
"Europe/Simferopol|EET MSK MSK|-20 -40 -30|012|1LHA0 1nW0|33e4",
|
|
|
|
"Europe/Volgograd|+04 +03|-40 -30|010|1N7y0 9Jd0|10e5",
|
|
|
|
"Pacific/Honolulu|HST|a0|0||37e4",
|
|
|
|
"MET|MET MEST|-10 -20|01010101010101010101010|1LHB0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00",
|
|
|
|
"Pacific/Chatham|+1345 +1245|-dJ -cJ|01010101010101010101010|1LKe0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00|600",
|
|
|
|
"Pacific/Apia|+14 +13|-e0 -d0|01010101010101010101010|1LKe0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00|37e3",
|
|
|
|
"Pacific/Bougainville|+10 +11|-a0 -b0|01|1NwE0|18e4",
|
|
|
|
"Pacific/Fiji|+13 +12|-d0 -c0|01010101010101010101010|1Lfp0 1SN0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 1VA0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 1VA0|88e4",
|
|
|
|
"Pacific/Guam|ChST|-a0|0||17e4",
|
|
|
|
"Pacific/Marquesas|-0930|9u|0||86e2",
|
|
|
|
"Pacific/Pago_Pago|SST|b0|0||37e2",
|
|
|
|
"Pacific/Norfolk|+1130 +11|-bu -b0|01|1PoCu|25e4",
|
|
|
|
"Pacific/Tongatapu|+13 +14|-d0 -e0|010|1S4d0 s00|75e3"
|
2018-04-26 15:15:53 +08:00
|
|
|
],
|
|
|
|
"links": [
|
2019-05-08 11:42:49 +08:00
|
|
|
"Africa/Abidjan|Africa/Accra",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Africa/Abidjan|Africa/Bamako",
|
|
|
|
"Africa/Abidjan|Africa/Banjul",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Africa/Abidjan|Africa/Bissau",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Africa/Abidjan|Africa/Conakry",
|
|
|
|
"Africa/Abidjan|Africa/Dakar",
|
|
|
|
"Africa/Abidjan|Africa/Freetown",
|
|
|
|
"Africa/Abidjan|Africa/Lome",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Africa/Abidjan|Africa/Monrovia",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Africa/Abidjan|Africa/Nouakchott",
|
|
|
|
"Africa/Abidjan|Africa/Ouagadougou",
|
|
|
|
"Africa/Abidjan|Africa/Timbuktu",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Africa/Abidjan|America/Danmarkshavn",
|
|
|
|
"Africa/Abidjan|Atlantic/Reykjavik",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Africa/Abidjan|Atlantic/St_Helena",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Africa/Abidjan|Etc/GMT",
|
|
|
|
"Africa/Abidjan|Etc/GMT+0",
|
|
|
|
"Africa/Abidjan|Etc/GMT-0",
|
|
|
|
"Africa/Abidjan|Etc/GMT0",
|
|
|
|
"Africa/Abidjan|Etc/Greenwich",
|
|
|
|
"Africa/Abidjan|GMT",
|
|
|
|
"Africa/Abidjan|GMT+0",
|
|
|
|
"Africa/Abidjan|GMT-0",
|
|
|
|
"Africa/Abidjan|GMT0",
|
|
|
|
"Africa/Abidjan|Greenwich",
|
|
|
|
"Africa/Abidjan|Iceland",
|
|
|
|
"Africa/Algiers|Africa/Tunis",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Africa/Cairo|Egypt",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Africa/Casablanca|Africa/El_Aaiun",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Africa/Johannesburg|Africa/Maseru",
|
|
|
|
"Africa/Johannesburg|Africa/Mbabane",
|
|
|
|
"Africa/Lagos|Africa/Bangui",
|
|
|
|
"Africa/Lagos|Africa/Brazzaville",
|
|
|
|
"Africa/Lagos|Africa/Douala",
|
|
|
|
"Africa/Lagos|Africa/Kinshasa",
|
|
|
|
"Africa/Lagos|Africa/Libreville",
|
|
|
|
"Africa/Lagos|Africa/Luanda",
|
|
|
|
"Africa/Lagos|Africa/Malabo",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Africa/Lagos|Africa/Ndjamena",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Africa/Lagos|Africa/Niamey",
|
|
|
|
"Africa/Lagos|Africa/Porto-Novo",
|
|
|
|
"Africa/Maputo|Africa/Blantyre",
|
|
|
|
"Africa/Maputo|Africa/Bujumbura",
|
|
|
|
"Africa/Maputo|Africa/Gaborone",
|
|
|
|
"Africa/Maputo|Africa/Harare",
|
|
|
|
"Africa/Maputo|Africa/Kigali",
|
|
|
|
"Africa/Maputo|Africa/Lubumbashi",
|
|
|
|
"Africa/Maputo|Africa/Lusaka",
|
|
|
|
"Africa/Nairobi|Africa/Addis_Ababa",
|
|
|
|
"Africa/Nairobi|Africa/Asmara",
|
|
|
|
"Africa/Nairobi|Africa/Asmera",
|
|
|
|
"Africa/Nairobi|Africa/Dar_es_Salaam",
|
|
|
|
"Africa/Nairobi|Africa/Djibouti",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Africa/Nairobi|Africa/Juba",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Africa/Nairobi|Africa/Kampala",
|
|
|
|
"Africa/Nairobi|Africa/Mogadishu",
|
|
|
|
"Africa/Nairobi|Indian/Antananarivo",
|
|
|
|
"Africa/Nairobi|Indian/Comoro",
|
|
|
|
"Africa/Nairobi|Indian/Mayotte",
|
|
|
|
"Africa/Tripoli|Libya",
|
|
|
|
"America/Adak|America/Atka",
|
|
|
|
"America/Adak|US/Aleutian",
|
2019-05-08 11:42:49 +08:00
|
|
|
"America/Anchorage|America/Juneau",
|
|
|
|
"America/Anchorage|America/Nome",
|
|
|
|
"America/Anchorage|America/Sitka",
|
|
|
|
"America/Anchorage|America/Yakutat",
|
2018-04-26 15:15:53 +08:00
|
|
|
"America/Anchorage|US/Alaska",
|
2019-05-08 11:42:49 +08:00
|
|
|
"America/Campo_Grande|America/Cuiaba",
|
|
|
|
"America/Chicago|America/Indiana/Knox",
|
|
|
|
"America/Chicago|America/Indiana/Tell_City",
|
|
|
|
"America/Chicago|America/Knox_IN",
|
|
|
|
"America/Chicago|America/Matamoros",
|
|
|
|
"America/Chicago|America/Menominee",
|
|
|
|
"America/Chicago|America/North_Dakota/Beulah",
|
|
|
|
"America/Chicago|America/North_Dakota/Center",
|
|
|
|
"America/Chicago|America/North_Dakota/New_Salem",
|
|
|
|
"America/Chicago|America/Rainy_River",
|
|
|
|
"America/Chicago|America/Rankin_Inlet",
|
|
|
|
"America/Chicago|America/Resolute",
|
|
|
|
"America/Chicago|America/Winnipeg",
|
|
|
|
"America/Chicago|CST6CDT",
|
|
|
|
"America/Chicago|Canada/Central",
|
2018-04-26 15:15:53 +08:00
|
|
|
"America/Chicago|US/Central",
|
2019-05-08 11:42:49 +08:00
|
|
|
"America/Chicago|US/Indiana-Starke",
|
|
|
|
"America/Chihuahua|America/Mazatlan",
|
|
|
|
"America/Chihuahua|Mexico/BajaSur",
|
|
|
|
"America/Denver|America/Boise",
|
|
|
|
"America/Denver|America/Cambridge_Bay",
|
|
|
|
"America/Denver|America/Edmonton",
|
|
|
|
"America/Denver|America/Inuvik",
|
|
|
|
"America/Denver|America/Ojinaga",
|
2018-04-26 15:15:53 +08:00
|
|
|
"America/Denver|America/Shiprock",
|
2019-05-08 11:42:49 +08:00
|
|
|
"America/Denver|America/Yellowknife",
|
|
|
|
"America/Denver|Canada/Mountain",
|
|
|
|
"America/Denver|MST7MDT",
|
2018-04-26 15:15:53 +08:00
|
|
|
"America/Denver|Navajo",
|
|
|
|
"America/Denver|US/Mountain",
|
2019-05-08 11:42:49 +08:00
|
|
|
"America/Fortaleza|America/Araguaina",
|
|
|
|
"America/Fortaleza|America/Argentina/Buenos_Aires",
|
|
|
|
"America/Fortaleza|America/Argentina/Catamarca",
|
|
|
|
"America/Fortaleza|America/Argentina/ComodRivadavia",
|
|
|
|
"America/Fortaleza|America/Argentina/Cordoba",
|
|
|
|
"America/Fortaleza|America/Argentina/Jujuy",
|
|
|
|
"America/Fortaleza|America/Argentina/La_Rioja",
|
|
|
|
"America/Fortaleza|America/Argentina/Mendoza",
|
|
|
|
"America/Fortaleza|America/Argentina/Rio_Gallegos",
|
|
|
|
"America/Fortaleza|America/Argentina/Salta",
|
|
|
|
"America/Fortaleza|America/Argentina/San_Juan",
|
|
|
|
"America/Fortaleza|America/Argentina/San_Luis",
|
|
|
|
"America/Fortaleza|America/Argentina/Tucuman",
|
|
|
|
"America/Fortaleza|America/Argentina/Ushuaia",
|
|
|
|
"America/Fortaleza|America/Bahia",
|
|
|
|
"America/Fortaleza|America/Belem",
|
|
|
|
"America/Fortaleza|America/Buenos_Aires",
|
|
|
|
"America/Fortaleza|America/Catamarca",
|
|
|
|
"America/Fortaleza|America/Cayenne",
|
|
|
|
"America/Fortaleza|America/Cordoba",
|
|
|
|
"America/Fortaleza|America/Jujuy",
|
|
|
|
"America/Fortaleza|America/Maceio",
|
|
|
|
"America/Fortaleza|America/Mendoza",
|
|
|
|
"America/Fortaleza|America/Paramaribo",
|
|
|
|
"America/Fortaleza|America/Recife",
|
|
|
|
"America/Fortaleza|America/Rosario",
|
|
|
|
"America/Fortaleza|America/Santarem",
|
|
|
|
"America/Fortaleza|Antarctica/Rothera",
|
|
|
|
"America/Fortaleza|Atlantic/Stanley",
|
|
|
|
"America/Fortaleza|Etc/GMT+3",
|
|
|
|
"America/Halifax|America/Glace_Bay",
|
|
|
|
"America/Halifax|America/Goose_Bay",
|
|
|
|
"America/Halifax|America/Moncton",
|
|
|
|
"America/Halifax|America/Thule",
|
|
|
|
"America/Halifax|Atlantic/Bermuda",
|
2018-04-26 15:15:53 +08:00
|
|
|
"America/Halifax|Canada/Atlantic",
|
|
|
|
"America/Havana|Cuba",
|
2019-05-08 11:42:49 +08:00
|
|
|
"America/La_Paz|America/Boa_Vista",
|
|
|
|
"America/La_Paz|America/Guyana",
|
|
|
|
"America/La_Paz|America/Manaus",
|
|
|
|
"America/La_Paz|America/Porto_Velho",
|
|
|
|
"America/La_Paz|Brazil/West",
|
|
|
|
"America/La_Paz|Etc/GMT+4",
|
|
|
|
"America/Lima|America/Bogota",
|
|
|
|
"America/Lima|America/Eirunepe",
|
|
|
|
"America/Lima|America/Guayaquil",
|
|
|
|
"America/Lima|America/Porto_Acre",
|
|
|
|
"America/Lima|America/Rio_Branco",
|
|
|
|
"America/Lima|Brazil/Acre",
|
|
|
|
"America/Lima|Etc/GMT+5",
|
|
|
|
"America/Los_Angeles|America/Dawson",
|
|
|
|
"America/Los_Angeles|America/Ensenada",
|
|
|
|
"America/Los_Angeles|America/Santa_Isabel",
|
|
|
|
"America/Los_Angeles|America/Tijuana",
|
|
|
|
"America/Los_Angeles|America/Vancouver",
|
|
|
|
"America/Los_Angeles|America/Whitehorse",
|
|
|
|
"America/Los_Angeles|Canada/Pacific",
|
|
|
|
"America/Los_Angeles|Canada/Yukon",
|
|
|
|
"America/Los_Angeles|Mexico/BajaNorte",
|
|
|
|
"America/Los_Angeles|PST8PDT",
|
2018-04-26 15:15:53 +08:00
|
|
|
"America/Los_Angeles|US/Pacific",
|
|
|
|
"America/Los_Angeles|US/Pacific-New",
|
2019-05-08 11:42:49 +08:00
|
|
|
"America/Managua|America/Belize",
|
|
|
|
"America/Managua|America/Costa_Rica",
|
|
|
|
"America/Managua|America/El_Salvador",
|
|
|
|
"America/Managua|America/Guatemala",
|
|
|
|
"America/Managua|America/Regina",
|
|
|
|
"America/Managua|America/Swift_Current",
|
|
|
|
"America/Managua|America/Tegucigalpa",
|
|
|
|
"America/Managua|Canada/Saskatchewan",
|
|
|
|
"America/Mexico_City|America/Bahia_Banderas",
|
|
|
|
"America/Mexico_City|America/Merida",
|
|
|
|
"America/Mexico_City|America/Monterrey",
|
2018-04-26 15:15:53 +08:00
|
|
|
"America/Mexico_City|Mexico/General",
|
2019-05-08 11:42:49 +08:00
|
|
|
"America/New_York|America/Detroit",
|
|
|
|
"America/New_York|America/Fort_Wayne",
|
|
|
|
"America/New_York|America/Indiana/Indianapolis",
|
|
|
|
"America/New_York|America/Indiana/Marengo",
|
|
|
|
"America/New_York|America/Indiana/Petersburg",
|
|
|
|
"America/New_York|America/Indiana/Vevay",
|
|
|
|
"America/New_York|America/Indiana/Vincennes",
|
|
|
|
"America/New_York|America/Indiana/Winamac",
|
|
|
|
"America/New_York|America/Indianapolis",
|
|
|
|
"America/New_York|America/Iqaluit",
|
|
|
|
"America/New_York|America/Kentucky/Louisville",
|
|
|
|
"America/New_York|America/Kentucky/Monticello",
|
|
|
|
"America/New_York|America/Louisville",
|
|
|
|
"America/New_York|America/Montreal",
|
|
|
|
"America/New_York|America/Nassau",
|
|
|
|
"America/New_York|America/Nipigon",
|
|
|
|
"America/New_York|America/Pangnirtung",
|
|
|
|
"America/New_York|America/Thunder_Bay",
|
|
|
|
"America/New_York|America/Toronto",
|
|
|
|
"America/New_York|Canada/Eastern",
|
|
|
|
"America/New_York|EST5EDT",
|
|
|
|
"America/New_York|US/East-Indiana",
|
2018-04-26 15:15:53 +08:00
|
|
|
"America/New_York|US/Eastern",
|
2019-05-08 11:42:49 +08:00
|
|
|
"America/New_York|US/Michigan",
|
|
|
|
"America/Noronha|Atlantic/South_Georgia",
|
2018-04-26 15:15:53 +08:00
|
|
|
"America/Noronha|Brazil/DeNoronha",
|
2019-05-08 11:42:49 +08:00
|
|
|
"America/Noronha|Etc/GMT+2",
|
|
|
|
"America/Panama|America/Atikokan",
|
2018-04-26 15:15:53 +08:00
|
|
|
"America/Panama|America/Cayman",
|
2019-05-08 11:42:49 +08:00
|
|
|
"America/Panama|America/Coral_Harbour",
|
|
|
|
"America/Panama|America/Jamaica",
|
|
|
|
"America/Panama|EST",
|
|
|
|
"America/Panama|Jamaica",
|
|
|
|
"America/Phoenix|America/Creston",
|
|
|
|
"America/Phoenix|America/Dawson_Creek",
|
|
|
|
"America/Phoenix|America/Hermosillo",
|
|
|
|
"America/Phoenix|MST",
|
2018-04-26 15:15:53 +08:00
|
|
|
"America/Phoenix|US/Arizona",
|
|
|
|
"America/Santiago|Chile/Continental",
|
2019-05-08 11:42:49 +08:00
|
|
|
"America/Santo_Domingo|America/Anguilla",
|
|
|
|
"America/Santo_Domingo|America/Antigua",
|
|
|
|
"America/Santo_Domingo|America/Aruba",
|
|
|
|
"America/Santo_Domingo|America/Barbados",
|
|
|
|
"America/Santo_Domingo|America/Blanc-Sablon",
|
|
|
|
"America/Santo_Domingo|America/Curacao",
|
|
|
|
"America/Santo_Domingo|America/Dominica",
|
|
|
|
"America/Santo_Domingo|America/Grenada",
|
|
|
|
"America/Santo_Domingo|America/Guadeloupe",
|
|
|
|
"America/Santo_Domingo|America/Kralendijk",
|
|
|
|
"America/Santo_Domingo|America/Lower_Princes",
|
|
|
|
"America/Santo_Domingo|America/Marigot",
|
|
|
|
"America/Santo_Domingo|America/Martinique",
|
|
|
|
"America/Santo_Domingo|America/Montserrat",
|
|
|
|
"America/Santo_Domingo|America/Port_of_Spain",
|
|
|
|
"America/Santo_Domingo|America/Puerto_Rico",
|
|
|
|
"America/Santo_Domingo|America/St_Barthelemy",
|
|
|
|
"America/Santo_Domingo|America/St_Kitts",
|
|
|
|
"America/Santo_Domingo|America/St_Lucia",
|
|
|
|
"America/Santo_Domingo|America/St_Thomas",
|
|
|
|
"America/Santo_Domingo|America/St_Vincent",
|
|
|
|
"America/Santo_Domingo|America/Tortola",
|
|
|
|
"America/Santo_Domingo|America/Virgin",
|
2018-04-26 15:15:53 +08:00
|
|
|
"America/Sao_Paulo|Brazil/East",
|
|
|
|
"America/St_Johns|Canada/Newfoundland",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Antarctica/Palmer|America/Punta_Arenas",
|
|
|
|
"Asia/Baghdad|Antarctica/Syowa",
|
|
|
|
"Asia/Baghdad|Asia/Aden",
|
|
|
|
"Asia/Baghdad|Asia/Bahrain",
|
|
|
|
"Asia/Baghdad|Asia/Kuwait",
|
|
|
|
"Asia/Baghdad|Asia/Qatar",
|
|
|
|
"Asia/Baghdad|Asia/Riyadh",
|
|
|
|
"Asia/Baghdad|Etc/GMT-3",
|
|
|
|
"Asia/Baghdad|Europe/Minsk",
|
|
|
|
"Asia/Bangkok|Antarctica/Davis",
|
|
|
|
"Asia/Bangkok|Asia/Ho_Chi_Minh",
|
|
|
|
"Asia/Bangkok|Asia/Novokuznetsk",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Asia/Bangkok|Asia/Phnom_Penh",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Asia/Bangkok|Asia/Saigon",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Asia/Bangkok|Asia/Vientiane",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Asia/Bangkok|Etc/GMT-7",
|
|
|
|
"Asia/Bangkok|Indian/Christmas",
|
|
|
|
"Asia/Dhaka|Antarctica/Vostok",
|
|
|
|
"Asia/Dhaka|Asia/Almaty",
|
|
|
|
"Asia/Dhaka|Asia/Bishkek",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Asia/Dhaka|Asia/Dacca",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Asia/Dhaka|Asia/Kashgar",
|
|
|
|
"Asia/Dhaka|Asia/Qostanay",
|
|
|
|
"Asia/Dhaka|Asia/Thimbu",
|
|
|
|
"Asia/Dhaka|Asia/Thimphu",
|
|
|
|
"Asia/Dhaka|Asia/Urumqi",
|
|
|
|
"Asia/Dhaka|Etc/GMT-6",
|
|
|
|
"Asia/Dhaka|Indian/Chagos",
|
|
|
|
"Asia/Dili|Etc/GMT-9",
|
|
|
|
"Asia/Dili|Pacific/Palau",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Asia/Dubai|Asia/Muscat",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Asia/Dubai|Asia/Tbilisi",
|
|
|
|
"Asia/Dubai|Asia/Yerevan",
|
|
|
|
"Asia/Dubai|Etc/GMT-4",
|
|
|
|
"Asia/Dubai|Europe/Samara",
|
|
|
|
"Asia/Dubai|Indian/Mahe",
|
|
|
|
"Asia/Dubai|Indian/Mauritius",
|
|
|
|
"Asia/Dubai|Indian/Reunion",
|
|
|
|
"Asia/Gaza|Asia/Hebron",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Asia/Hong_Kong|Hongkong",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Asia/Jakarta|Asia/Pontianak",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Asia/Jerusalem|Asia/Tel_Aviv",
|
|
|
|
"Asia/Jerusalem|Israel",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Asia/Kamchatka|Asia/Anadyr",
|
|
|
|
"Asia/Kamchatka|Etc/GMT-12",
|
|
|
|
"Asia/Kamchatka|Kwajalein",
|
|
|
|
"Asia/Kamchatka|Pacific/Funafuti",
|
|
|
|
"Asia/Kamchatka|Pacific/Kwajalein",
|
|
|
|
"Asia/Kamchatka|Pacific/Majuro",
|
|
|
|
"Asia/Kamchatka|Pacific/Nauru",
|
|
|
|
"Asia/Kamchatka|Pacific/Tarawa",
|
|
|
|
"Asia/Kamchatka|Pacific/Wake",
|
|
|
|
"Asia/Kamchatka|Pacific/Wallis",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Asia/Kathmandu|Asia/Katmandu",
|
|
|
|
"Asia/Kolkata|Asia/Calcutta",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Asia/Kuala_Lumpur|Asia/Brunei",
|
|
|
|
"Asia/Kuala_Lumpur|Asia/Kuching",
|
|
|
|
"Asia/Kuala_Lumpur|Asia/Singapore",
|
|
|
|
"Asia/Kuala_Lumpur|Etc/GMT-8",
|
|
|
|
"Asia/Kuala_Lumpur|Singapore",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Asia/Makassar|Asia/Ujung_Pandang",
|
|
|
|
"Asia/Rangoon|Asia/Yangon",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Asia/Rangoon|Indian/Cocos",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Asia/Seoul|ROK",
|
|
|
|
"Asia/Shanghai|Asia/Chongqing",
|
|
|
|
"Asia/Shanghai|Asia/Chungking",
|
|
|
|
"Asia/Shanghai|Asia/Harbin",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Asia/Shanghai|Asia/Macao",
|
|
|
|
"Asia/Shanghai|Asia/Macau",
|
|
|
|
"Asia/Shanghai|Asia/Taipei",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Asia/Shanghai|PRC",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Asia/Shanghai|ROC",
|
|
|
|
"Asia/Tashkent|Antarctica/Mawson",
|
|
|
|
"Asia/Tashkent|Asia/Aqtau",
|
|
|
|
"Asia/Tashkent|Asia/Aqtobe",
|
|
|
|
"Asia/Tashkent|Asia/Ashgabat",
|
|
|
|
"Asia/Tashkent|Asia/Ashkhabad",
|
|
|
|
"Asia/Tashkent|Asia/Atyrau",
|
|
|
|
"Asia/Tashkent|Asia/Dushanbe",
|
|
|
|
"Asia/Tashkent|Asia/Oral",
|
|
|
|
"Asia/Tashkent|Asia/Samarkand",
|
|
|
|
"Asia/Tashkent|Etc/GMT-5",
|
|
|
|
"Asia/Tashkent|Indian/Kerguelen",
|
|
|
|
"Asia/Tashkent|Indian/Maldives",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Asia/Tehran|Iran",
|
|
|
|
"Asia/Tokyo|Japan",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Asia/Ulaanbaatar|Asia/Choibalsan",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Asia/Ulaanbaatar|Asia/Ulan_Bator",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Asia/Vladivostok|Asia/Ust-Nera",
|
|
|
|
"Asia/Yakutsk|Asia/Khandyga",
|
|
|
|
"Atlantic/Azores|America/Scoresbysund",
|
|
|
|
"Atlantic/Cape_Verde|Etc/GMT+1",
|
|
|
|
"Australia/Adelaide|Australia/Broken_Hill",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Australia/Adelaide|Australia/South",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Australia/Adelaide|Australia/Yancowinna",
|
|
|
|
"Australia/Brisbane|Australia/Lindeman",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Australia/Brisbane|Australia/Queensland",
|
|
|
|
"Australia/Darwin|Australia/North",
|
|
|
|
"Australia/Lord_Howe|Australia/LHI",
|
|
|
|
"Australia/Perth|Australia/West",
|
|
|
|
"Australia/Sydney|Australia/ACT",
|
|
|
|
"Australia/Sydney|Australia/Canberra",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Australia/Sydney|Australia/Currie",
|
|
|
|
"Australia/Sydney|Australia/Hobart",
|
|
|
|
"Australia/Sydney|Australia/Melbourne",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Australia/Sydney|Australia/NSW",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Australia/Sydney|Australia/Tasmania",
|
|
|
|
"Australia/Sydney|Australia/Victoria",
|
2019-04-26 21:00:57 +08:00
|
|
|
"Etc/UTC|Etc/UCT",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Etc/UTC|Etc/Universal",
|
|
|
|
"Etc/UTC|Etc/Zulu",
|
2019-04-26 21:00:57 +08:00
|
|
|
"Etc/UTC|UCT",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Etc/UTC|UTC",
|
|
|
|
"Etc/UTC|Universal",
|
|
|
|
"Etc/UTC|Zulu",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Europe/Athens|Asia/Nicosia",
|
|
|
|
"Europe/Athens|EET",
|
|
|
|
"Europe/Athens|Europe/Bucharest",
|
|
|
|
"Europe/Athens|Europe/Helsinki",
|
|
|
|
"Europe/Athens|Europe/Kiev",
|
|
|
|
"Europe/Athens|Europe/Mariehamn",
|
|
|
|
"Europe/Athens|Europe/Nicosia",
|
|
|
|
"Europe/Athens|Europe/Riga",
|
|
|
|
"Europe/Athens|Europe/Sofia",
|
|
|
|
"Europe/Athens|Europe/Tallinn",
|
|
|
|
"Europe/Athens|Europe/Uzhgorod",
|
|
|
|
"Europe/Athens|Europe/Vilnius",
|
|
|
|
"Europe/Athens|Europe/Zaporozhye",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Europe/Chisinau|Europe/Tiraspol",
|
|
|
|
"Europe/Dublin|Eire",
|
|
|
|
"Europe/Istanbul|Asia/Istanbul",
|
|
|
|
"Europe/Istanbul|Turkey",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Europe/Lisbon|Atlantic/Canary",
|
|
|
|
"Europe/Lisbon|Atlantic/Faeroe",
|
|
|
|
"Europe/Lisbon|Atlantic/Faroe",
|
|
|
|
"Europe/Lisbon|Atlantic/Madeira",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Europe/Lisbon|Portugal",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Europe/Lisbon|WET",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Europe/London|Europe/Belfast",
|
|
|
|
"Europe/London|Europe/Guernsey",
|
|
|
|
"Europe/London|Europe/Isle_of_Man",
|
|
|
|
"Europe/London|Europe/Jersey",
|
|
|
|
"Europe/London|GB",
|
|
|
|
"Europe/London|GB-Eire",
|
|
|
|
"Europe/Moscow|W-SU",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Europe/Paris|Africa/Ceuta",
|
|
|
|
"Europe/Paris|Arctic/Longyearbyen",
|
|
|
|
"Europe/Paris|Atlantic/Jan_Mayen",
|
|
|
|
"Europe/Paris|CET",
|
|
|
|
"Europe/Paris|Europe/Amsterdam",
|
|
|
|
"Europe/Paris|Europe/Andorra",
|
|
|
|
"Europe/Paris|Europe/Belgrade",
|
|
|
|
"Europe/Paris|Europe/Berlin",
|
|
|
|
"Europe/Paris|Europe/Bratislava",
|
|
|
|
"Europe/Paris|Europe/Brussels",
|
|
|
|
"Europe/Paris|Europe/Budapest",
|
|
|
|
"Europe/Paris|Europe/Busingen",
|
|
|
|
"Europe/Paris|Europe/Copenhagen",
|
|
|
|
"Europe/Paris|Europe/Gibraltar",
|
|
|
|
"Europe/Paris|Europe/Ljubljana",
|
|
|
|
"Europe/Paris|Europe/Luxembourg",
|
|
|
|
"Europe/Paris|Europe/Madrid",
|
|
|
|
"Europe/Paris|Europe/Malta",
|
|
|
|
"Europe/Paris|Europe/Monaco",
|
|
|
|
"Europe/Paris|Europe/Oslo",
|
|
|
|
"Europe/Paris|Europe/Podgorica",
|
|
|
|
"Europe/Paris|Europe/Prague",
|
|
|
|
"Europe/Paris|Europe/Rome",
|
|
|
|
"Europe/Paris|Europe/San_Marino",
|
|
|
|
"Europe/Paris|Europe/Sarajevo",
|
|
|
|
"Europe/Paris|Europe/Skopje",
|
|
|
|
"Europe/Paris|Europe/Stockholm",
|
|
|
|
"Europe/Paris|Europe/Tirane",
|
|
|
|
"Europe/Paris|Europe/Vaduz",
|
|
|
|
"Europe/Paris|Europe/Vatican",
|
|
|
|
"Europe/Paris|Europe/Vienna",
|
|
|
|
"Europe/Paris|Europe/Warsaw",
|
|
|
|
"Europe/Paris|Europe/Zagreb",
|
|
|
|
"Europe/Paris|Europe/Zurich",
|
|
|
|
"Europe/Paris|Poland",
|
|
|
|
"Europe/Ulyanovsk|Europe/Astrakhan",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Pacific/Auckland|Antarctica/McMurdo",
|
|
|
|
"Pacific/Auckland|Antarctica/South_Pole",
|
|
|
|
"Pacific/Auckland|NZ",
|
|
|
|
"Pacific/Chatham|NZ-CHAT",
|
|
|
|
"Pacific/Easter|Chile/EasterIsland",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Pacific/Fakaofo|Etc/GMT-13",
|
|
|
|
"Pacific/Fakaofo|Pacific/Enderbury",
|
|
|
|
"Pacific/Galapagos|Etc/GMT+6",
|
|
|
|
"Pacific/Gambier|Etc/GMT+9",
|
|
|
|
"Pacific/Guadalcanal|Antarctica/Macquarie",
|
|
|
|
"Pacific/Guadalcanal|Etc/GMT-11",
|
|
|
|
"Pacific/Guadalcanal|Pacific/Efate",
|
|
|
|
"Pacific/Guadalcanal|Pacific/Kosrae",
|
|
|
|
"Pacific/Guadalcanal|Pacific/Noumea",
|
|
|
|
"Pacific/Guadalcanal|Pacific/Pohnpei",
|
|
|
|
"Pacific/Guadalcanal|Pacific/Ponape",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Pacific/Guam|Pacific/Saipan",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Pacific/Honolulu|HST",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Pacific/Honolulu|Pacific/Johnston",
|
|
|
|
"Pacific/Honolulu|US/Hawaii",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Pacific/Kiritimati|Etc/GMT-14",
|
|
|
|
"Pacific/Niue|Etc/GMT+11",
|
2018-04-26 15:15:53 +08:00
|
|
|
"Pacific/Pago_Pago|Pacific/Midway",
|
|
|
|
"Pacific/Pago_Pago|Pacific/Samoa",
|
|
|
|
"Pacific/Pago_Pago|US/Samoa",
|
2019-05-08 11:42:49 +08:00
|
|
|
"Pacific/Pitcairn|Etc/GMT+8",
|
|
|
|
"Pacific/Port_Moresby|Antarctica/DumontDUrville",
|
|
|
|
"Pacific/Port_Moresby|Etc/GMT-10",
|
|
|
|
"Pacific/Port_Moresby|Pacific/Chuuk",
|
|
|
|
"Pacific/Port_Moresby|Pacific/Truk",
|
|
|
|
"Pacific/Port_Moresby|Pacific/Yap",
|
|
|
|
"Pacific/Tahiti|Etc/GMT+10",
|
|
|
|
"Pacific/Tahiti|Pacific/Rarotonga"
|
2018-04-26 15:15:53 +08:00
|
|
|
]
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
return moment;
|
|
|
|
}));
|