跳至内容
菜单
此问题已终结
10268 查看

I have a model with some Integer fields which represent times in seconds. 

I would like to display these fields not as integers but as a time HH:MM:SS using something like <field name="int_field" widget="int_time"/> similar to how you would use the float_time widget. 

How do I create and register such a custom widget?

形象
丢弃
相关帖文 回复 查看 活动
2
12月 17
7095
1
7月 24
2600
0
9月 23
2293
0
9月 23
2005
1
7月 23
4980