From e6977368c53be5c167a560083d276ccbab6b9b55 Mon Sep 17 00:00:00 2001 From: lesion Date: Wed, 22 Mar 2023 13:41:50 +0100 Subject: [PATCH] revert Intl, node is not ready, fix #250 --- components/admin/Settings.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/admin/Settings.vue b/components/admin/Settings.vue index 7bf7f548..e80ba08d 100644 --- a/components/admin/Settings.vue +++ b/components/admin/Settings.vue @@ -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 }