mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2025-01-03 13:54:38 +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 => {
|
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;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue