Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4390 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
9771
3
jun 25
763
0
abr 24
1777
4
nov 23
5829