Calendar Pop-Up and Input Text Differ
Greetings!
I have been using your datetimepicker with great results for quite some time now. However, today I updated it using your latest commits (git pull) and noticed many differences that "broke" my application.
The most frustrating one is that now the Calendar and the Text Input show different things. Example:
- Although before I was denoting the minutes using mm, now I see that i is the new way. So,
- I set the TimeFormat of my datepicker to h:i:s (hours, minutes, seconds)
- Refresh my application
The resulting behavior is that:
- The calendar dropdown shows a time as 05:00:21 , however upon selection, the Text Input presents a 05:i:21 (as if the text input still expects mm instead of i)
The exact same thing is true for the reversed set up:
- I use h:mm as my Time Format (expecting something like 05:00)
- The calendar dropdown shows a 05:0707 (07 being the 7th month)
- The text input then, shows the correct value
An example can be seen here:

with the following set up:
{
format: "D/MM/YYYY h:mm ZZ",
formatTime: "h:mm ZZ", // 05:59 +0300
formatDate: "D/MM/YYYY", //20/05/2018
scrollInput: false
}
It looks like the drop down calendar expects one TimeFormat (i.e. i for minutes), whereas the resulting text input with the selected value, another (i.e. mm for minutes).
Am I doing something wrong, or is this a bug?