Ir al contenido
Menú
Se marcó esta pregunta
10038 Vistas

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
dic 17
6937
1
jul 24
2309
0
sept 23
1999
0
sept 23
1728
1
jul 23
4703