fix timezone
This commit is contained in:
@@ -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 }
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user