fix 182, timezone

This commit is contained in:
jb-alvarado 2022-09-02 19:23:36 +02:00
parent ec78765c0b
commit 1fa89dc124
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ export default {
dayjs: {
locales: ['en', 'de'],
defaultLocale: 'en',
defaultTimeZone: 'Europe/Berlin',
defaultTimeZone: 'UTC',
plugins: ['utc', 'timezone']
},

View File

@ -68,7 +68,7 @@ export const actions = {
}
}
commit('UPDATE_TIMEZONE', response.data.timezone)
commit('UPDATE_TIMEZONE', response.data[0].timezone)
commit('UPDATE_GUI_CONFIG', response.data)
commit('UPDATE_GUI_CONFIG_RAW', _.cloneDeep(response.data))
commit('UPDATE_CONFIG_COUNT', response.data.length)