Bootstrap datetime picker with 12 o'clock hour not showing meridian (am or pm) in rails?
I want to show the date_time format this way 11/01/2013 12:00 AM
, but currently it displays 11/01/2013 12:00 P
like this. meridian indicator "P" always shows "P" instead of reading am or pm.
I am following this link bootstrap date time picker for my rails app.
$('#datetimepicker1').datetimepicker({
format : 'DD/MM/YYYY hh:mm P'
});
+2
source to share
4 answers