fix timezone

This commit is contained in:
2019-07-01 21:48:00 +02:00
parent 7121f71700
commit d22c249bfd

View File

@@ -13,6 +13,12 @@
import Highcharts from 'highcharts' import Highcharts from 'highcharts'
import 'highcharts/css/highcharts.scss' import 'highcharts/css/highcharts.scss'
import Loader from '@/components/Loader' import Loader from '@/components/Loader'
Highcharts.setOptions({
time: {
timezoneOffset: new Date().getTimezoneOffset()
}
})
export default { export default {
props: ['window', 'type'], props: ['window', 'type'],
components: { components: {
@@ -76,7 +82,7 @@ export default {
}, },
title: { enabled: false } title: { enabled: false }
}, },
series: [{ data }], series: [{ name: type, data }],
credits: { enabled: false } credits: { enabled: false }
}) })
} }