mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-09 01:23:10 +03:00
Fix the parsing of unavailability dates so that those render correctly for all timezones (fix originating from the community support group)
This commit is contained in:
parent
d58d9f7434
commit
29fb168a31
1 changed files with 1 additions and 1 deletions
|
@ -338,7 +338,7 @@ App.Http.Booking = (function () {
|
|||
// Grey out unavailable dates.
|
||||
$selectDate[0]._flatpickr.set(
|
||||
'disable',
|
||||
unavailableDates.map((unavailableDate) => new Date(unavailableDate)),
|
||||
unavailableDates.map((unavailableDate) => new Date(unavailableDate + 'T00:00')),
|
||||
);
|
||||
|
||||
if (setDate && !vars('manage_mode')) {
|
||||
|
|
Loading…
Reference in a new issue