mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-22 07:52:43 +00:00
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:
parent
3c0db7877c
commit
29c9ded5b7
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ const showLocalTimezone = ref(true);
|
|||
|
||||
const timezoneToShow = computed((): string | undefined => {
|
||||
if (showLocalTimezone.value) {
|
||||
return props.timezone;
|
||||
return props.timezone ?? userActualTimezone.value;
|
||||
}
|
||||
return userActualTimezone.value;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue