Skip to Content
Menú
This question has been flagged
1 Respondre
4543 Vistes

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

Avatar
Descartar
Best Answer

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

example:

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

Avatar
Descartar
Autor

Thank you!

Related Posts Respostes Vistes Activitat
2
de jul. 18
7123
3
d’ag. 20
10015
3
de juny 25
1080
0
d’abr. 24
1953
4
de nov. 23
6053