bootstrap-datepicker icon indicating copy to clipboard operation
bootstrap-datepicker copied to clipboard

datesDisabled not working with dates in different format

Open DHeinrichs opened this issue 6 years ago • 5 comments

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/

DHeinrichs avatar Aug 22 '18 17:08 DHeinrichs

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

DHeinrichs avatar Aug 22 '18 17:08 DHeinrichs

Any update on this issue? Workaround?

rumplin avatar Feb 13 '19 14:02 rumplin

Any work around to this?

nkigen avatar Jun 04 '19 12:06 nkigen

Seems to be very critical issue and no fix till date

ExpandXSoln avatar Dec 28 '20 15:12 ExpandXSoln

Is this project dead?

rumplin avatar Dec 29 '20 18:12 rumplin