[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 committed by CactusPuppy
parent 03b12eafb0
commit 6777ffb0bb
No known key found for this signature in database
GPG key ID: 4B33B0A3E15E2C82
6 changed files with 25 additions and 9 deletions

View file

@ -29,8 +29,8 @@ class FullCalendarFormatter
{
id: event_schedule.event.guid,
title: event_schedule.event.title,
start: event_schedule.start_time,
end: event_schedule.end_time,
start: event_schedule.start_time_in_conference_timezone,
end: event_schedule.end_time_in_conference_timezone,
resourceId: event_schedule.room.guid,
url: url,
borderColor: event_type_color,