Skip to Content
मेन्यू
This question has been flagged
10081 Views

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?

Avatar
Discard
Related Posts Replies Views Activity
2
दिस॰ 17
6961
1
जुल॰ 24
2375
0
सित॰ 23
2086
0
सित॰ 23
1829
1
जुल॰ 23
4755