Skip to content

Commit 2c11a09

Browse files
committed
add comment
1 parent 09c79b9 commit 2c11a09

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

js/jquery.fn.gantt.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1660,6 +1660,7 @@
16601660
holidays = tools._datesToDays( settings.holidays );
16611661
}
16621662
return !!holidays[
1663+
// assumes numeric dates are already normalized to start-of-day
16631664
$.isNumeric(date) ?
16641665
date :
16651666
( new Date(date.getFullYear(), date.getMonth(), date.getDate()) ).getTime()

0 commit comments

Comments
 (0)