mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-27 19:47:49 +01:00
Set FullCalendar to use UTC as timezone
Affects issues: - Possibly fixed #1239
This commit is contained in:
parent
97bc28e2b4
commit
70b9ac1104
@ -151,6 +151,7 @@ function dayByDay(id, series) {
|
||||
|
||||
function onlineActivityCalendar(id, event_data, firstDay) {
|
||||
window.calendars.online_activity = new FullCalendar.Calendar(document.querySelector(id), {
|
||||
timeZone: "UTC",
|
||||
themeSystem: 'bootstrap',
|
||||
eventColor: '#2196F3',
|
||||
firstDay: firstDay,
|
||||
@ -408,6 +409,7 @@ function formatTimeAmount(ms) {
|
||||
|
||||
function sessionCalendar(id, event_data, firstDay) {
|
||||
window.calendars.sessions = new FullCalendar.Calendar(document.querySelector(id), {
|
||||
timeZone: "UTC",
|
||||
themeSystem: 'bootstrap',
|
||||
eventColor: '#009688',
|
||||
dayMaxEventRows: 4,
|
||||
|
Loading…
Reference in New Issue
Block a user