jquery-date-range-picker
jquery-date-range-picker copied to clipboard
Calendar does not show greyed dates from next/previous month
The following is the screenshot taken from demo page http://longbill.github.io/jquery-date-range-picker/. It does not show the dates from other month.
Image from GitHub page shows disabled dates from other month:
Mm, indeed, apparently default behavior has changed.
It seems there is an inconsistency between the CSS classes, here they are 'set':
https://github.com/longbill/jquery-date-range-picker/blob/eb4f79b459ec6fd65490f0d08e82bc20a2722a0c/src/daterangepicker.css#L94-L99
And here they are set to 'nodisplay': https://github.com/longbill/jquery-date-range-picker/blob/eb4f79b459ec6fd65490f0d08e82bc20a2722a0c/src/daterangepicker.css#L125-L126
Not sure why that last part is done. Anyone?
Wow, thank you so much Menno Holtkamp :) You saved my day :) Added the tweak for us :)
I am completely satisfied for the response. You can close the bug :)
It seems this advice https://github.com/longbill/jquery-date-range-picker/issues/38 has entered the repository using https://github.com/longbill/jquery-date-range-picker/commit/ad8aa84e0396a2baacbdfe6e89002d317829e84e
@longbill remember why you did this?
This still seems to be in the codebase. Did you ever got a response to this, @holtkamp?
@hbulens nope. Maybe we should make this configurable?
That would be the cleanest way, yes. Although it would most definitely suffice to make it visible by default. Google Calendar, Outlook, and others all have those dates visible, so people aren't going to be surprised to see those dates appear in the calendar.
I agree that displaying the dates of other months in greyed out approach seems like an accepted default mode.
@hbulens feel free to open a Pull Request.
Disclaimer: not sure if I will be able to release a new version, @monovertex released the last releases...