Good afternoon I need to format the input of a time type field in the widget active form, my form should be short time without the seconds, the field is defined in the table of type time, is there any way to tell it to the widget actiform or model this field is of format "php: h: i".
Thank you very much,
Wilmer.
<?= $form->field($model, 'turnos008')->textInput(['class' => 'form-control col-md-2 inicio']) ?>