Closed themlkang42 closed 4 years ago
I have reproduced the problem you mentioned on setting default date to 31. of May. I have merged your changes into my branch, along with all the other pending changes to Florents original 'fork', along with some of my own changes + extensions. Thx for the fix.
Obsolete if #267 gets merged.
Fixes this: https://github.com/florent37/SingleDateAndTimePicker/issues/265
Details:
SingleDateAndTimePicker#setDefaultDate(Date)
was callingupdateDaysOfMonth()
which was using the current date by default to update.WheelDayOfMonthPicker
to be updated with the wrong number of daysTested that this solution for a variety of dates (May 31, Aug 31 2019)