Fixed Feiertage

This commit is contained in:
brausjonas
2023-06-13 15:08:50 +02:00
parent fd6af0cdf4
commit ac97e1937f
+1 -1
View File
@@ -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)