[FIX] website_event: fix end date weekday
Fix the displayed end date weekday on an event's registration page. See #39698 X-original-commit: f2a311cbe3c60b3fed8929ba180fb2ef6a5fc915
This commit is contained in:
@@ -443,7 +443,7 @@
|
||||
</t>
|
||||
<t t-else="">
|
||||
<i class="fa fa-long-arrow-down d-block text-muted mx-3 my-2" style="font-size: 1.5rem"/>
|
||||
<span t-field="event.with_context(tz=event.date_tz).date_begin" t-options="{'date_only': 'true', 'format': 'EEEE'}"/>
|
||||
<span t-field="event.with_context(tz=event.date_tz).date_end" t-options="{'date_only': 'true', 'format': 'EEEE'}"/>
|
||||
<h4 class="my-1" t-field="event.with_context(tz=event.date_tz).date_end" t-options="{'date_only': 'true', 'format': 'long'}"/>
|
||||
<t t-if="not event.is_one_day">End -</t>
|
||||
<span t-field="event.with_context(tz=event.date_tz).date_end" t-options="{'time_only': 'true', 'format': 'short'}"/>
|
||||
|
||||
Reference in New Issue
Block a user