diff options
-rw-r--r-- | jquery.weekcalendar.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jquery.weekcalendar.js b/jquery.weekcalendar.js index 7143123..6cd89cb 100644 --- a/jquery.weekcalendar.js +++ b/jquery.weekcalendar.js @@ -1359,8 +1359,8 @@ calEvent.start = start; //end of this virual calEvent is set to the end of the day calEvent.end.setFullYear(start.getFullYear()); - calEvent.end.setMonth(start.getMonth()); calEvent.end.setDate(start.getDate()); + calEvent.end.setMonth(start.getMonth()); calEvent.end.setHours(maxHour); calEvent.end.setMinutes(0); calEvent.end.setSeconds(0); |