[FIX] website_mail_group: Localized messages dates
The messages dates in the groups pages - /groups/<model('mail.group'):group>/ - /groups/<model('mail.group'):group>/<model('mail.message):message/ Did not take into account the user timezone, and always displayed the date in UTC time. opw-653508
This commit is contained in:
parent
27b38513b0
commit
b12aa82926
|
@ -190,7 +190,7 @@
|
|||
}'/>
|
||||
</t>
|
||||
<t t-if="not message.author_id"><t t-esc="message.email_from"/></t>
|
||||
- <i class="fa fa-calendar"/> <t t-esc="message.date"/>
|
||||
- <i class="fa fa-calendar"/> <span t-field="message.date"/>
|
||||
</small>
|
||||
<div t-raw="message.body"/>
|
||||
|
||||
|
@ -262,7 +262,7 @@
|
|||
}'/>
|
||||
</t>
|
||||
<t t-if="not thread.author_id"><t t-esc="thread.email_from"/></t>
|
||||
- <i class="fa fa-calendar"/> <t t-esc="thread.date"/>
|
||||
- <i class="fa fa-calendar"/> <span t-field="thread.date"/>
|
||||
- <i class="fa fa-paperclip"/> <t t-esc="len(thread.attachment_ids)"/>
|
||||
</small>
|
||||
<p t-if="thread.child_ids" class="mt8">
|
||||
|
|
Loading…
Reference in New Issue