Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4870 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
7473
3
ago 20
10552
3
jun 25
1511
0
abr 24
2389
4
nov 23
6550