revert Intl, node is not ready, fix #250
This commit is contained in:
parent
eb2bf32162
commit
e6977368c5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue