1
0
Fork 0
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:
Massedil 2024-11-06 18:37:59 +01:00
parent 3c0db7877c
commit 29c9ded5b7

View file

@ -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;
});