Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
4483 Prikazi

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

Avatar
Opusti
Best Answer

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

example:

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

Avatar
Opusti
Avtor

Thank you!

Related Posts Odgovori Prikazi Aktivnost
2
jul. 18
7052
3
avg. 20
9942
3
jun. 25
968
0
apr. 24
1850
4
nov. 23
5936