Skip to Content
Menu
This question has been flagged
1 Odpoveď
4319 Zobrazenia

 How to remove hour from a datetime field

Avatar
Zrušiť
Autor Best Answer

Add t-options="{'widget': 'date'}" in the field

Example :  <p t-field="doc.date_order" t-options="{'widget': 'date'}"/>

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
1
jún 21
2397
1
máj 21
3045
1
apr 21
8
1
apr 21
8460
1
júl 25
554