@progress/kendo-date-math
Version:
Kendo UI typescript package exporting functions for Date manipulations
344 lines • 4.41 kB
JavaScript
const dm = require('@progress/kendo-date-math');
dm.loadTimezone({
"zones": {
"America/Fort_Nelson": [
[
490.7833333333333,
"-",
"LMT",
-2682374400000
],
[
480,
"Vanc",
"P%sT",
-725932800000
],
[
480,
"-",
"PST",
-694396800000
],
[
480,
"Vanc",
"P%sT",
567907200000
],
[
480,
"Canada",
"P%sT",
1425780000000
],
[
420,
"-",
"MST",
null
]
]
},
"rules": {
"Vanc": [
[
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"
],
[
1946,
1986,
"-",
"Apr",
"lastSun",
[
2,
0,
0,
null
],
60,
"D"
],
[
1946,
"only",
"-",
"Sep",
"29",
[
2,
0,
0,
null
],
0,
"S"
],
[
1947,
1961,
"-",
"Sep",
"lastSun",
[
2,
0,
0,
null
],
0,
"S"
],
[
1962,
2006,
"-",
"Oct",
"lastSun",
[
2,
0,
0,
null
],
0,
"S"
]
],
"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/Fort_Nelson": {
"long": null,
"group": null
}
}
});