Why is the date displayed like this? QWEB
I want to display the activity date deadline but it takes a wrong format. I work on French odoo but the date is displayed in English, with the following format and time set to 00:00:00 but this is a date field not datetime...
Format : Wed Dec 18 2019 00:00:00 GMT+2
This is weird because even in my database, the date is displayed like 18/09/2019, so why is it displayed like that when I call the field in inherited qweb template?
Here is my qweb inheritance:
<?xml version="1.0" encoding="UTF-8"?>
<t t-jquery=".fa-clock-o" t-operation="after">
<t t-if="log.date_deadline > new Date() and log.activity_type_id != 3">
<span><t t-esc="log.date_deadline" /></span>
Hope that anyone can help me. Thanks !
I already tried t-field, t-options, t-field-options with format or widget: no effect...