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

I have a datetime attribute into my db. I would like to view (not write: only view) it as date. Is it possible?

Avatar
Zrušiť
Best Answer

yes, using widget="date" with the corresponding field.

example:

<field name="your_datetime_field_name" widget="date"/>
 

Avatar
Zrušiť
Autor

Thank you!

Related Posts Replies Zobrazenia Aktivita
2
júl 18
7018
3
aug 20
9914
3
jún 25
933
0
apr 24
1838
4
nov 23
5881