9b0ee30e by joe

1

1 parent fae0890f
......@@ -145,6 +145,13 @@ export default {
let m = vals[0];
let d = vals[1];
result[m] = [d];
} else {
let mod = year % 4;
let d = mod == 0 || mod == 1 ? 4 : 5;
let vals = this.checkWeeken(4, d);
let m = vals[0];
d = vals[1];
result[m] = [d];
}
for (let index = 0; index < hkHolidayDefine.gl.length; index++) {
......@@ -607,7 +614,7 @@ export default {
},
calculateHolidays() {
},
checkWeeken(m, d) {
let year = this.year;
......