diff --git a/server/files/javascript/calendar.js b/server/files/javascript/calendar.js index fb0eafbf4..7b3ef3479 100644 --- a/server/files/javascript/calendar.js +++ b/server/files/javascript/calendar.js @@ -146,7 +146,7 @@ semantic.calendar.ready = function() { $('#disableddates_calendar') .calendar({ - initialDate: new Date('2018-12-1'), + initialDate: new Date('2018-12-01'), disabledDates: [{ date: new Date('2018-12-22'), message: 'xmas gift shopping' @@ -213,11 +213,11 @@ semantic.calendar.ready = function() { $('#enableddates_calendar') .calendar({ type: 'date', - initialDate: new Date('2019-3-1'), + initialDate: new Date('2019-03-01'), enabledDates: [ - new Date('2018-3-5'), - new Date('2018-3-10'), - new Date('2018-3-20') + new Date('2019-03-05'), + new Date('2019-03-10'), + new Date('2019-03-20') ] }) ;