Update device-information.vue

This commit is contained in:
Maurizio Basaglia 2024-11-09 11:39:08 +01:00 committed by GitHub
parent 0b1b98f93e
commit d715376317
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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`),
},
],
},
]; ];
</script> </script>