Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
4496 Visninger

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

Avatar
Kassér
Bedste svar

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

example:

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

Avatar
Kassér
Forfatter

Thank you!

Related Posts Besvarelser Visninger Aktivitet
2
jul. 18
7074
3
aug. 20
9969
3
jun. 25
1001
0
apr. 24
1871
4
nov. 23
5985