Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
4434 Visualizações

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

Avatar
Cancelar
Melhor resposta

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

example:

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

Avatar
Cancelar
Autor

Thank you!

Publicações relacionadas Respostas Visualizações Atividade
2
jul. 18
7018
3
ago. 20
9914
3
jun. 25
933
0
abr. 24
1838
4
nov. 23
5881