DateTimePicker time picker in 24 hour but displaying in 12hr?

前端 未结 13 1231
孤独总比滥情好
孤独总比滥情好 2021-02-02 09:17

I\'m using the bootstrap ready date time picker from http://eonasdan.github.io/bootstrap-datetimepicker/ and it\'s working nicely but for one issue. I have a picker setup just f

13条回答
  •  梦毁少年i
    2021-02-02 10:12

    Meridian pertains to AM/PM, by setting it to false you're indicating you don't want AM/PM, therefore you want 24-hour clock implicitly.

    $('#timepicker1').timepicker({showMeridian:false});
    

提交回复
热议问题