The input-duration webcomponent:


HTML Attribute Set

JS Set/ Get of course work too, the same way as you would expect.

input type='time'
will definately cause you problems!