Skip to content

Commit 14b7503

Browse files
r-farkhutdinovRuslan Farkhutdinov
andauthored
Calendar: Fix Overview demo TypeError in isHoliday function (#32033)
Co-authored-by: Ruslan Farkhutdinov <[email protected]>
1 parent 5907dd0 commit 14b7503

File tree

1 file changed

+1
-1
lines changed
  • apps/demos/Demos/Calendar/Overview/jQuery

1 file changed

+1
-1
lines changed

apps/demos/Demos/Calendar/Overview/jQuery/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ $(() => {
9595
return day === 0 || day === 6;
9696
}
9797
function isHoliday(d) {
98-
return holidays.some((item) => d.date.getDate() === item[0] && d.date.getMonth() === item[1]);
98+
return holidays.some((item) => d.getDate() === item[0] && d.getMonth() === item[1]);
9999
}
100100

101101
function getCellTemplate(data) {

0 commit comments

Comments
 (0)