mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-20 21:23:08 +03:00
Merge branch 'up/feat/device-timezone' into chore/all-my-stuffs
This commit is contained in:
commit
bf332143fe
1 file changed
+13
@@ -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>
|
||||
|
||||
|
||||
Reference in new issue
Block a user