Remove TimePicker fields

0

I'm trying to remove the second, millisecond, and timezone fields but I can not. I checked the documentation, put showTimezone: false but it still appears. How can I proceed?

CodeI'musing:

<script>
$(function() {
$('#hora_parada').timepicker({
	timeOnlyTitle: 'Selecione a Hora',
	timeText: 'Hora Selecionada',
	hourText: 'Hora',
	minuteText: 'Minuto',
	currentText: 'Agora',
	closeText: 'Selecionar',
});

});
</script>
    
asked by anonymous 26.02.2016 / 12:46

1 answer

1

Recently I applied this setting in the environment I work with. See below:

 $(element).timepicker({
                            minuteStep: 1,
                            showSeconds: true,
                            showMeridian: false,
                            defaultTime: true
 });

In order not to display seconds, just put showSeconds: false

    
26.02.2016 / 13:12