I am the author of timepicker.
The value parameter for the default time is out of date. You have many ways to set a default time for a specific value.
set value attribute
<div class="bootstrap-timepicker"> <input id="timepicker" type="text" value="12:45 AM"/> </div>
or set the data attribute to override the configuration option
<div class="bootstrap-timepicker"> <input id="timepicker" type="text" data-default-value="12:45 AM"/> </div>
or by init
$('#timepicker').timepicker({ defaultValue: '12:45 AM' });
or call setTime method
$('#timepicker').timepicker(); $('#timepicker').timepicker('setTime', '12:45');
Just open the problem on github if you have any problems!
source share