Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4874 Zobrazení

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

Avatar
Zrušit
Nejlepší odpověď

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

example:

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

Avatar
Zrušit
Autor

Thank you!

Related Posts Odpovědi Zobrazení Aktivita
2
čvc 18
7478
3
srp 20
10552
3
čvn 25
1514
0
dub 24
2390
4
lis 23
6552