1
Showing
1 changed file
with
7 additions
and
0 deletions
... | @@ -145,6 +145,13 @@ export default { | ... | @@ -145,6 +145,13 @@ export default { |
145 | let m = vals[0]; | 145 | let m = vals[0]; |
146 | let d = vals[1]; | 146 | let d = vals[1]; |
147 | result[m] = [d]; | 147 | result[m] = [d]; |
148 | } else { | ||
149 | let mod = year % 4; | ||
150 | let d = mod == 0 || mod == 1 ? 4 : 5; | ||
151 | let vals = this.checkWeeken(4, d); | ||
152 | let m = vals[0]; | ||
153 | d = vals[1]; | ||
154 | result[m] = [d]; | ||
148 | } | 155 | } |
149 | 156 | ||
150 | for (let index = 0; index < hkHolidayDefine.gl.length; index++) { | 157 | for (let index = 0; index < hkHolidayDefine.gl.length; index++) { | ... | ... |
-
Please register or sign in to post a comment