florent37 / SingleDateAndTimePicker

You can now select a date and a time with only one widget !
Apache License 2.0
1.02k stars 333 forks source link

Fix crash due to setting default date on the last day of certain months #266

Closed themlkang42 closed 4 years ago

themlkang42 commented 4 years ago

Fixes this: https://github.com/florent37/SingleDateAndTimePicker/issues/265

Details:

Tested that this solution for a variety of dates (May 31, Aug 31 2019)

arberg commented 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.

https://github.com/arberg/SingleDateAndTimePicker

G00fY2 commented 4 years ago

Obsolete if #267 gets merged.