From d715376317ee4fe51179d128dc60496fa5edfcc1 Mon Sep 17 00:00:00 2001 From: Maurizio Basaglia <62178459+maurizuki@users.noreply.github.com> Date: Sat, 9 Nov 2024 11:39:08 +0100 Subject: [PATCH] Update device-information.vue --- src/tools/device-information/device-information.vue | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/tools/device-information/device-information.vue b/src/tools/device-information/device-information.vue index d5e5d2ac..10513ea5 100644 --- a/src/tools/device-information/device-information.vue +++ b/src/tools/device-information/device-information.vue @@ -54,6 +54,19 @@ const sections = [ }, ], }, + { + name: 'Time zone', + information: [ + { + label: 'Time zone name', + value: computed(() => Intl.DateTimeFormat().resolvedOptions().timeZone), + }, + { + label: 'UTC offset', + value: computed(() => `${new Date().getTimezoneOffset()} minutes`), + }, + ], + }, ];