[FIX] website_event_track: display time difference instead of whole timezone name
SPECIFICATIONS Display hours difference (GMT+2) instead of timezone name in track date details. It is easier for users to understand timing difference with a number compared to a timezone name. LINKS Task ID-2169118 odoo/odoo#55967 odoo/enterprise#12438 X-original-commit: c4fad383885390471a44ab2888b6c7f290a39762
This commit is contained in:
committed by
Thibault Delavallée
parent
63d37afe09
commit
5ee37a42f7
@@ -239,8 +239,10 @@
|
||||
<h4 class="card-header">Practical Info</h4>
|
||||
<div class="card-body">
|
||||
<b>Date</b><br/>
|
||||
<span t-field="track.date" t-options='{"hide_seconds":"True"}'/>
|
||||
<t t-if="event.date_tz">(<span t-field="event.date_tz"/>)</t>
|
||||
<span t-field="track.date" t-options='{"hide_seconds":"True", "format": "short"}'/>
|
||||
<t t-if="event.date_tz">
|
||||
(<span t-field="track.date" t-options='{"format": "zzz"}'/>)
|
||||
</t>
|
||||
<br/>
|
||||
<b>Duration</b><br/>
|
||||
<span t-field="track.duration" t-options='{"widget": "duration", "unit": "hour", "round": "minute"}'/><br/>
|
||||
|
||||
Reference in New Issue
Block a user