I'm using bootstrap-datepicker.js (version 1.6.1) to display a simple datepicker with dd/mm/yyyy format.
It is initialized like this:
$e.datepicker({
format: "dd/mm/yyyy"
, endDate: ed // end date
, autoclose: true
, startDate: sd // start date
, language: lang
});
The datepicker works just fine and date are set correctly to the configurated format if the user navigates through the calendar and clicks the desired date.
But the problem comes when he types the date manually on the input.
Somehow if the user manually types DD/MM/YY this value is being accepted by the datepicker and is not automatically converted to DD/MM/YYYY.
Does anyone knows if this is a limitation of the datepicker library or am I missing some configuration here?.