bootstrap-ui-datetime-picker
bootstrap-ui-datetime-picker copied to clipboard
Datetime value is not considering meridian
When I use this format in directive: datetime-picker="dd/MM/yyyy hh:mm a" It doesn't consider meridian in Datetime value. If the value is: 09/02/2016 02:12 p.m the value is 09/02/2016 02:12 insted of 09/02/2016 14:12.
For me it works fine. Did you click on PM when you are in time window?
Please see below screenshot.

You got an example? Plunkr?
Only thing I noticed in the original question is that actual attr with format used is datetime-picker="dd/MM/yyyy hh:mm a" and I am using this format datetime-picker="MM/dd/yyyy HH:mm"
Maybe @isaacfi can try this format datetime-picker="dd/MM/yyyy HH:mm a" to see if that fixes his issue?
No the issue is not solved using the datetime-picker="dd/MM/yyyy HH:mm a" because HH indicates 24 hours format.
Okay, but based on your original question I understood that you want 24 hours format? insted of 09/02/2016 14:12.
Can you create Plunkr as @Gillardo stated earlier?