I want to output a odoo 8 datetime field in the localization format but without time.
I extended the t-field
with the option hide_time
.
Is there a simpler built-in solution?
You could try specifying a format in t-field-options
, like this:
<span t-field="object.datetimefield" t-field-options='{"format": "MMMM d y"}'/>
just adjust the format as you want.