[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:
parent
92d6365f71
commit
1de29c4df1
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ $( document ).ready(function() {
|
||||||
let fullcalData = $('#fullcalendar');
|
let fullcalData = $('#fullcalendar');
|
||||||
|
|
||||||
var calendar = new FullCalendar.Calendar(calendarEl, {
|
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'),
|
initialDate: fullcalData.data('day'),
|
||||||
initialView: 'resourceTimeGridDay',
|
initialView: 'resourceTimeGridDay',
|
||||||
resources: fullcalData.data('rooms'),
|
resources: fullcalData.data('rooms'),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue