javascript - Bootstrap Datetime picker? -


i using bootstrap date time picker. problem code isnt able fetch am/pm. have tried:

$('#datetimepicker6').datetimepicker({         sidebyside: true,         format: 'dd/mm/yyyy hh:mm tt'      }); 

but giving me, time as, 09:23 tt. showing tt in place of , pm.

please help

try 'dd/mm/yyyy hh:mm a' instead, or '...a' capital am/pm.

http://momentjs.com/docs/#/displaying/


Comments

Popular posts from this blog

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

android - MPAndroidChart - How to add Annotations or images to the chart -