mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-22 22:52:35 +03:00
Use moment objects when rendering appointments in fullcalendar.
This commit is contained in:
parent
6bbdee1fa4
commit
66aacd7e6b
1 changed files with 2 additions and 2 deletions
|
@ -773,8 +773,8 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {};
|
|||
title: appointment.service.name + ' - '
|
||||
+ appointment.customer.first_name + ' '
|
||||
+ appointment.customer.last_name,
|
||||
start: appointment.start_datetime,
|
||||
end: appointment.end_datetime,
|
||||
start: moment(appointment.start_datetime),
|
||||
end: moment(appointment.end_datetime),
|
||||
allDay: false,
|
||||
data: appointment // Store appointment data for later use.
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue