Issue #1511: Date display problem :
If an event do not have a time zone, use the user's setting time zone for display or the browser time zone otherwise
This commit is contained in:
@@ -117,7 +117,7 @@ const showLocalTimezone = ref(true);
|
|||||||
|
|
||||||
const timezoneToShow = computed((): string | undefined => {
|
const timezoneToShow = computed((): string | undefined => {
|
||||||
if (showLocalTimezone.value) {
|
if (showLocalTimezone.value) {
|
||||||
return props.timezone;
|
return props.timezone ?? userActualTimezone.value;
|
||||||
}
|
}
|
||||||
return userActualTimezone.value;
|
return userActualTimezone.value;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user