@progress/kendo-date-math
Version:
Kendo UI typescript package exporting functions for Date manipulations
293 lines • 3.79 kB
JavaScript
const dm = require('@progress/kendo-date-math');
dm.loadTimezone({
"zones": {
"Asia/Shanghai": [
[
-485.7166666666667,
"-",
"LMT",
-2146003200000
],
[
-480,
"Shang",
"C%sT",
-649987200000
],
[
-480,
"PRC",
"C%sT",
null
]
]
},
"rules": {
"Shang": [
[
1919,
"only",
"-",
"Apr",
"12",
[
24,
0,
0,
null
],
60,
"D"
],
[
1919,
"only",
"-",
"Sep",
"30",
[
24,
0,
0,
null
],
0,
"S"
],
[
1940,
"only",
"-",
"Jun",
"1",
[
0,
0,
0,
null
],
60,
"D"
],
[
1940,
"only",
"-",
"Oct",
"12",
[
24,
0,
0,
null
],
0,
"S"
],
[
1941,
"only",
"-",
"Mar",
"15",
[
0,
0,
0,
null
],
60,
"D"
],
[
1941,
"only",
"-",
"Nov",
"1",
[
24,
0,
0,
null
],
0,
"S"
],
[
1942,
"only",
"-",
"Jan",
"31",
[
0,
0,
0,
null
],
60,
"D"
],
[
1945,
"only",
"-",
"Sep",
"1",
[
24,
0,
0,
null
],
0,
"S"
],
[
1946,
"only",
"-",
"May",
"15",
[
0,
0,
0,
null
],
60,
"D"
],
[
1946,
"only",
"-",
"Sep",
"30",
[
24,
0,
0,
null
],
0,
"S"
],
[
1947,
"only",
"-",
"Apr",
"15",
[
0,
0,
0,
null
],
60,
"D"
],
[
1947,
"only",
"-",
"Oct",
"31",
[
24,
0,
0,
null
],
0,
"S"
],
[
1948,
1949,
"-",
"May",
"1",
[
0,
0,
0,
null
],
60,
"D"
],
[
1948,
1949,
"-",
"Sep",
"30",
[
24,
0,
0,
null
],
0,
"S",
""
]
],
"PRC": [
[
1986,
"only",
"-",
"May",
"4",
[
2,
0,
0,
null
],
60,
"D"
],
[
1986,
1991,
"-",
"Sep",
"Sun>=11",
[
2,
0,
0,
null
],
0,
"S"
],
[
1987,
1991,
"-",
"Apr",
"Sun>=11",
[
2,
0,
0,
null
],
60,
"D"
]
]
},
"titles": {
"Asia/Shanghai": {
"long": "China Standard Time",
"group": "(GMT+08:00) Beijing, Chongqing, Hong Kong, Urumqi"
}
}
});