Bootstrap-datepicker: datesDisabled not working with dates in different format

Created on 22 Aug 2018  路  5Comments  路  Source: uxsolutions/bootstrap-datepicker

Also reproducable in the sandbox.

A GIF showing the issue in the sandbox is attached.

2018-08-22_19-44-19

How to reproduce

  • Create an datepicker with the datesDisabled atribute set with dates in the mm/dd/yyyy format
  • Set the Dateformat to dd.mm.yyyy
  • Open the datepicker

Expected behaviour

  • The Dates given in the datesDisabled attribute should be disabled

Actual behaviour

  • The Dates given in the datesDisabled can be selected.

Datepicker version used

1.6.4

Example code

https://jsfiddle.net/7gjum19w/

All 5 comments

Hint:
The problem seems to occur when the date Format or the language is changed.

Any update on this issue? Workaround?

Any work around to this?

Seems to be very critical issue and no fix till date

Is this project dead?

Was this page helpful?
0 / 5 - 0 ratings