diff options
| author | Lucas Perais <lcsperais@gmail.com> | 2017-10-18 14:25:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-18 14:25:22 +0200 |
| commit | 6c9e45576e8de511fb5da8b2118dd844b38c4782 (patch) | |
| tree | 5fc4d1cb7f4f84e814c7c21eb89e30a6960bada4 /addons/web/static/src/xml/base.xml | |
| parent | 4618cbd513036220fc210fadb1024ec1facd6559 (diff) | |
[FIX] document: display create_date of attachment timezone aware (#20242)
Before this commit, when putting the mouse over an attachment in the attachment drop menu list, the date time displayed was UTC only.
After this commit, we convert that value to the correct timezone datetime.
OPW 776704
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index a4773488d30..b51aba21278 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -334,12 +334,12 @@ <t t-if="item.create_uid and item.create_uid[0]" t-set="item.title"> <t t-raw="item.title"/><br/> <b>Created by : </b><br/> - <t t-raw="item.create_uid[1] + ' ' + item.create_date"/> + <t t-raw="item.create_uid[1]"/> <t t-esc="item.create_date_string" /> </t> <t t-if="item.create_uid and item.write_uid and item.create_uid[0] != item.write_uid[0]" t-set="item.title"> <t t-raw="item.title"/><br/> <b>Modified by : </b><br/> - <t t-raw="item.write_uid[1] + ' ' + item.write_date"/> + <t t-raw="item.write_uid[1]"/> <t t-esc="item.write_date_string"/> </t> </t> <a t-att-title="item.title or None" t-att-data-section="section.name" t-att-data-index="item_index" t-att-href="item.url"> |
