Fixed Timezone issues (#519)

This commit is contained in:
Rsl1122 2018-02-10 11:39:51 +02:00
parent b18396192f
commit 54b6817e4f
4 changed files with 10 additions and 9 deletions

View File

@ -12,6 +12,9 @@ function punchCard(id, punchcardSeries) {
},
tickInterval: 3600000
},
time: {
timezoneOffset: 0
},
yAxis: {
categories: ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday']
},

View File

@ -317,11 +317,10 @@
<script>
Highcharts.setOptions({
lang: {noData: "No Data to Display"},
global: {
time: {
timezoneOffset: ${timeZone} * 60
}
})
;
}
});
// Data Variables
var playersOnlineSeries = {
name: 'Players Online',

View File

@ -588,11 +588,10 @@
<!-- Chart Data -->
<script>
Highcharts.setOptions({
global: {
time: {
timezoneOffset: ${timeZone} * 60
}
})
;
}
});
var serverSeries = {
name: 'Server Playtime',
colorByPoint: true,

View File

@ -953,7 +953,7 @@
<script>
Highcharts.setOptions({
lang: {noData: "No Data to Display"},
global: {
time: {
timezoneOffset: ${timeZone} * 60
}
})