Hi im using http://eonasdan.github.io/bootstrap-datetimepicker/ on bootstrap, specifically example number 4.
I added this property to take away the PM thing and be a
This works for me:
$(function () {
$('#datetimepicker5').datetimepicker({
use24hours: true,
format: 'HH:mm'
});
});
Important: It only worked at the point I used uppercase "H" as time format.
//Timepicker
$(".timepicker").timepicker({
showInputs: false,
showMeridian: false //24hr mode
});
if you are using bootstrap time picker. use showMeridian property to make the time picker 24 hours format.
$('.time-picker').timepicker({
showMeridian: false
});