Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
10104 Prikazi

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
dec. 17
6976
1
jul. 24
2392
0
sep. 23
2104
0
sep. 23
1838
1
jul. 23
4780