revert Intl, node is not ready, fix #250

This commit is contained in:
lesion 2023-03-22 13:41:50 +01:00
parent eb2bf32162
commit e6977368c5
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -72,6 +72,7 @@ import SMTP from './SMTP.vue'
import Geolocation from './Geolocation.vue'
import { mapActions, mapState } from 'vuex'
import { DateTime } from 'luxon'
import tzNames from './tz.json'
import { mdiAlert, mdiArrowRight, mdiMap } from '@mdi/js'
const locales = require('../../locales/index')
@ -127,7 +128,6 @@ export default {
},
filteredTimezones () {
const current_timezone = DateTime.local().zoneName
const tzNames = Intl.supportedValuesOf('timeZone')
tzNames.unshift(current_timezone)
return tzNames
}