We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b373427 commit 8aabffdCopy full SHA for 8aabffd
resources/js/Components/Common/User/UserTimezoneMismatchModal.vue
@@ -27,9 +27,10 @@ onMounted(() => {
27
timezone.value = Intl.DateTimeFormat().resolvedOptions().timeZone;
28
userTimezone.value = getUserTimezone();
29
30
+ const now = getDayJsInstance()();
31
+
32
if (
- getDayJsInstance()().tz(timezone.value).format() !==
- getDayJsInstance()().tz(userTimezone.value).format() &&
33
+ now.tz(timezone.value).format() !== now.tz(userTimezone.value).format() &&
34
!hideTimezoneMismatchModal.value
35
) {
36
show.value = true;
0 commit comments