lilcodelab / Xamarin.Plugin.Calendar

Calendar plugin for Xamarin.Forms
MIT License
260 stars 61 forks source link

Ensure that the day is inside a valid range when month change #119

Open kvpt opened 2 years ago

kvpt commented 2 years ago

When only the month is changed and that the current date is end of month, like 31 January to February. It can generate an out of range date resulting in an app crash. Ensure that the day is not greater than the last day of the new month before creating the date.