Fixed Feiertage
This commit is contained in:
1 parent
fd6af0cdf4
commit
ac97e1937f
1 file changed
+1
-1
@@ -151,7 +151,7 @@ export default function CalenderView(p) {
|
||||
}
|
||||
for (let i = 0; i < 6; i++) {
|
||||
let date = new Date(currentYear, 0, currentWeekStartDay+i)
|
||||
grayedOut[i] = holiday(currentYear, date.getMonth(), date.getDate())
|
||||
grayedOut[i] = holiday(currentYear, date.getMonth(), date.getDate()) ? holiday(currentYear, date.getMonth(), date.getDate()) : grayedOut[i]
|
||||
}
|
||||
|
||||
setEntries(en)
|
||||
|
||||
Reference in new issue
Block a user