From a40c9fd4b560caba55b9a78d4afb57d3435d78ef Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 21 Oct 2020 09:04:29 +0200 Subject: [PATCH] Handle timezone not found in preferences Signed-off-by: Thomas Citharel --- js/src/views/Settings/Preferences.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/src/views/Settings/Preferences.vue b/js/src/views/Settings/Preferences.vue index 7e82a5c3b..876daa270 100644 --- a/js/src/views/Settings/Preferences.vue +++ b/js/src/views/Settings/Preferences.vue @@ -39,11 +39,12 @@ - {{ + {{ $t("Timezone detected as {timezone}.", { timezone: Intl.DateTimeFormat().resolvedOptions().timeZone, }) }} + {{ $t("Unable to detect timezone.") }}