mirror of
https://github.com/CorentinTh/it-tools.git
synced 2024-12-26 09:42:28 +08:00
Update device-information.vue
This commit is contained in:
parent
0b1b98f93e
commit
d715376317
1 changed files with 13 additions and 0 deletions
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue