Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4392 Vistas

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
Mejor respuesta

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

example:

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

Avatar
Descartar
Autor

Thank you!

Publicaciones relacionadas Respuestas Vistas Actividad
2
jul 18
6935
3
ago 20
9775
3
jun 25
797
0
abr 24
1782
4
nov 23
5834