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
4401 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
6937
3
srp 20
9786
3
čvn 25
823
0
dub 24
1791
4
lis 23
5838