mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-15 12:41:36 +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) {
|
function onlineActivityCalendar(id, event_data, firstDay) {
|
||||||
window.calendars.online_activity = new FullCalendar.Calendar(document.querySelector(id), {
|
window.calendars.online_activity = new FullCalendar.Calendar(document.querySelector(id), {
|
||||||
|
timeZone: "UTC",
|
||||||
themeSystem: 'bootstrap',
|
themeSystem: 'bootstrap',
|
||||||
eventColor: '#2196F3',
|
eventColor: '#2196F3',
|
||||||
firstDay: firstDay,
|
firstDay: firstDay,
|
||||||
@ -408,6 +409,7 @@ function formatTimeAmount(ms) {
|
|||||||
|
|
||||||
function sessionCalendar(id, event_data, firstDay) {
|
function sessionCalendar(id, event_data, firstDay) {
|
||||||
window.calendars.sessions = new FullCalendar.Calendar(document.querySelector(id), {
|
window.calendars.sessions = new FullCalendar.Calendar(document.querySelector(id), {
|
||||||
|
timeZone: "UTC",
|
||||||
themeSystem: 'bootstrap',
|
themeSystem: 'bootstrap',
|
||||||
eventColor: '#009688',
|
eventColor: '#009688',
|
||||||
dayMaxEventRows: 4,
|
dayMaxEventRows: 4,
|
||||||
|
Loading…
Reference in New Issue
Block a user