Skip to content

Commit bf33214

Browse files
committed
Merge branch 'up/feat/device-timezone' into chore/all-my-stuffs
2 parents fbb14cc + d715376 commit bf33214

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/tools/device-information/device-information.vue

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,19 @@ const sections = [
5454
},
5555
],
5656
},
57+
{
58+
name: 'Time zone',
59+
information: [
60+
{
61+
label: 'Time zone name',
62+
value: computed(() => Intl.DateTimeFormat().resolvedOptions().timeZone),
63+
},
64+
{
65+
label: 'UTC offset',
66+
value: computed(() => `${new Date().getTimezoneOffset()} minutes`),
67+
},
68+
],
69+
},
5770
];
5871
</script>
5972

0 commit comments

Comments
 (0)