diff --git a/assets/js/http/booking_http_client.js b/assets/js/http/booking_http_client.js index 7aa99b37..426c9fd8 100755 --- a/assets/js/http/booking_http_client.js +++ b/assets/js/http/booking_http_client.js @@ -295,7 +295,7 @@ App.Http.Booking = (function () { // Grey out unavailability dates. $('#select-date .ui-datepicker-calendar td:not(.ui-datepicker-other-month)').each((index, td) => { - selectedDateMoment.set({day: index + 1}); + selectedDateMoment.set({date: index + 1}); if (unavailabilityDates.indexOf(selectedDateMoment.format('YYYY-MM-DD')) !== -1) { $(td).addClass('ui-datepicker-unselectable ui-state-disabled'); }