[doc]Add comment in fullcalendar.js so that if events are added to database with timezone info explicitly, the fullcalendar can be fixed

This commit is contained in:
Jimmy 2021-04-30 16:32:06 +08:00 committed by CactusPuppy
parent f36f25ca3f
commit f14cb8fe10
No known key found for this signature in database
GPG key ID: 4B33B0A3E15E2C82

View file

@ -4,7 +4,7 @@ $( document ).ready(function() {
let fullcalData = $('#fullcalendar');
var calendar = new FullCalendar.Calendar(calendarEl, {
timeZone: 'UTC',
timeZone: 'UTC', // TODO: Events are stored in conference's timezone implicitly (UTC+0) in the database
initialDate: fullcalData.data('day'),
initialView: 'resourceTimeGridDay',
resources: fullcalData.data('rooms'),