@progress/kendo-date-math
Version:
Kendo UI typescript package exporting functions for Date manipulations
383 lines • 4.95 kB
JavaScript
const dm = require('@progress/kendo-date-math');
dm.loadTimezone({
"zones": {
"America/Pangnirtung": [
[
0,
"-",
"-00",
-1514851200000
],
[
240,
"NT_YK",
"A%sT",
796701600000
],
[
300,
"Canada",
"E%sT",
941335200000
],
[
360,
"Canada",
"C%sT",
972784800000
],
[
300,
"Canada",
"E%sT",
null
]
]
},
"rules": {
"NT_YK": [
[
1918,
"only",
"-",
"Apr",
"14",
[
2,
0,
0,
null
],
60,
"D"
],
[
1918,
"only",
"-",
"Oct",
"27",
[
2,
0,
0,
null
],
0,
"S"
],
[
1919,
"only",
"-",
"May",
"25",
[
2,
0,
0,
null
],
60,
"D"
],
[
1919,
"only",
"-",
"Nov",
"1",
[
0,
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"
],
[
1965,
"only",
"-",
"Apr",
"lastSun",
[
0,
0,
0,
null
],
120,
"DD"
],
[
1965,
"only",
"-",
"Oct",
"lastSun",
[
2,
0,
0,
null
],
0,
"S"
],
[
1980,
1986,
"-",
"Apr",
"lastSun",
[
2,
0,
0,
null
],
60,
"D"
],
[
1980,
2006,
"-",
"Oct",
"lastSun",
[
2,
0,
0,
null
],
0,
"S"
],
[
1987,
2006,
"-",
"Apr",
"Sun>=1",
[
2,
0,
0,
null
],
60,
"D"
]
],
"Canada": [
[
1918,
"only",
"-",
"Apr",
"14",
[
2,
0,
0,
null
],
60,
"D"
],
[
1918,
"only",
"-",
"Oct",
"27",
[
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"
],
[
1974,
1986,
"-",
"Apr",
"lastSun",
[
2,
0,
0,
null
],
60,
"D"
],
[
1974,
2006,
"-",
"Oct",
"lastSun",
[
2,
0,
0,
null
],
0,
"S"
],
[
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/Pangnirtung": {
"long": "Eastern Standard Time",
"group": "(GMT-05:00) Eastern Time (US & Canada)"
}
}
});