[feat]Properly add timezone to events starttime and endtime; set now to be the time in conference timezone instead of the user s time zone in fullcalendar

This commit is contained in:
Jimmy 2021-05-01 01:37:52 +08:00
parent 66767c33a2
commit bc115d6f90
No known key found for this signature in database
GPG key ID: FAE75C760A4A5CC6
6 changed files with 25 additions and 9 deletions

View file

@ -8,6 +8,6 @@
#vert-schedule-full-calendar
#fullcalendar{ data: { rooms: @rooms, events: @event_schedules, day: @day,
'start-hour': @conference.start_hour, 'end-hour': @conference.end_hour,
'start-date': @conference.start_date,
'end-date': @conference.end_date + 1.day,
'start-date': @conference.start_date, 'end-date': @conference.end_date + 1.day,
'timezone': @conference.timezone, 'now': @now,
'scheduler-license-key': @scheduler_license_key } }