Reputation: 299
How to Convert datetime to time in qweb report. Now return 2016-11-03 07:40:55 I want only 07:40:55
My solution is not working:
<span t-esc="o.start" t-field-options='{"format": "hh.mm.ss"}'/>
Upvotes: 0
Views: 882
Reputation: 722
Change t-esc to t-field. t-field-options only works on t-field.
t-esc
t-field
t-field-options
Upvotes: 2