コンテンツへスキップ
メニュー
この質問にフラグが付けられました
10255 ビュー

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
7091
1
7月 24
2590
0
9月 23
2283
0
9月 23
1996
1
7月 23
4966