跳至内容
菜单
此问题已终结
1 回复
4485 查看

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

形象
丢弃
最佳答案

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

example:

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

形象
丢弃
编写者

Thank you!

相关帖文 回复 查看 活动
2
7月 18
7056
3
8月 20
9950
3
6月 25
972
0
4月 24
1853
4
11月 23
5942