@progress/kendo-date-math
Version:
Kendo UI typescript package exporting functions for Date manipulations
493 lines • 6.37 kB
JavaScript
const dm = require('@progress/kendo-date-math');
dm.loadTimezone({
"zones": {
"America/Ojinaga": [
[
417.6666666666667,
"-",
"LMT",
-1514764660000
],
[
420,
"-",
"MST",
-1343091600000
],
[
360,
"-",
"CST",
-1234828800000
],
[
420,
"-",
"MST",
-1220317200000
],
[
360,
"-",
"CST",
-1207180800000
],
[
420,
"-",
"MST",
-1191369600000
],
[
360,
"-",
"CST",
851990400000
],
[
360,
"Mexico",
"C%sT",
915062400000
],
[
360,
"-",
"CST",
891399600000
],
[
420,
"Mexico",
"M%sT",
1293753600000
],
[
420,
"US",
"M%sT",
null
]
]
},
"rules": {
"Mexico": [
[
1939,
"only",
"-",
"Feb",
"5",
[
0,
0,
0,
null
],
60,
"D"
],
[
1939,
"only",
"-",
"Jun",
"25",
[
0,
0,
0,
null
],
0,
"S"
],
[
1940,
"only",
"-",
"Dec",
"9",
[
0,
0,
0,
null
],
60,
"D"
],
[
1941,
"only",
"-",
"Apr",
"1",
[
0,
0,
0,
null
],
0,
"S"
],
[
1943,
"only",
"-",
"Dec",
"16",
[
0,
0,
0,
null
],
60,
"W",
""
],
[
1944,
"only",
"-",
"May",
"1",
[
0,
0,
0,
null
],
0,
"S"
],
[
1950,
"only",
"-",
"Feb",
"12",
[
0,
0,
0,
null
],
60,
"D"
],
[
1950,
"only",
"-",
"Jul",
"30",
[
0,
0,
0,
null
],
0,
"S"
],
[
1996,
2000,
"-",
"Apr",
"Sun>=1",
[
2,
0,
0,
null
],
60,
"D"
],
[
1996,
2000,
"-",
"Oct",
"lastSun",
[
2,
0,
0,
null
],
0,
"S"
],
[
2001,
"only",
"-",
"May",
"Sun>=1",
[
2,
0,
0,
null
],
60,
"D"
],
[
2001,
"only",
"-",
"Sep",
"lastSun",
[
2,
0,
0,
null
],
0,
"S"
],
[
2002,
"max",
"-",
"Apr",
"Sun>=1",
[
2,
0,
0,
null
],
60,
"D"
],
[
2002,
"max",
"-",
"Oct",
"lastSun",
[
2,
0,
0,
null
],
0,
"S"
]
],
"US": [
[
1918,
1919,
"-",
"Mar",
"lastSun",
[
2,
0,
0,
null
],
60,
"D"
],
[
1918,
1919,
"-",
"Oct",
"lastSun",
[
2,
0,
0,
null
],
0,
"S"
],
[
1942,
"only",
"-",
"Feb",
"9",
[
2,
0,
0,
null
],
60,
"W",
""
],
[
1945,
"only",
"-",
"Aug",
"14",
[
23,
0,
0,
"u"
],
60,
"P",
""
],
[
1945,
"only",
"-",
"Sep",
"30",
[
2,
0,
0,
null
],
0,
"S"
],
[
1967,
2006,
"-",
"Oct",
"lastSun",
[
2,
0,
0,
null
],
0,
"S"
],
[
1967,
1973,
"-",
"Apr",
"lastSun",
[
2,
0,
0,
null
],
60,
"D"
],
[
1974,
"only",
"-",
"Jan",
"6",
[
2,
0,
0,
null
],
60,
"D"
],
[
1975,
"only",
"-",
"Feb",
"lastSun",
[
2,
0,
0,
null
],
60,
"D"
],
[
1976,
1986,
"-",
"Apr",
"lastSun",
[
2,
0,
0,
null
],
60,
"D"
],
[
1987,
2006,
"-",
"Apr",
"Sun>=1",
[
2,
0,
0,
null
],
60,
"D"
],
[
2007,
"max",
"-",
"Mar",
"Sun>=8",
[
2,
0,
0,
null
],
60,
"D"
],
[
2007,
"max",
"-",
"Nov",
"Sun>=1",
[
2,
0,
0,
null
],
0,
"S"
]
]
},
"titles": {
"America/Ojinaga": {
"long": "Mountain Standard Time",
"group": "(GMT-07:00) Mountain Time (US & Canada)"
}
}
});