The source project of this merge request has been removed.
date-chooser : add bounds checking
Gnome calendar crashes while changing the date-seclector/date-chooser view from a month with a higher number of days to one with a lower number of days (example March to February) when the selected day in the previous month is not found in the current month.
We introduce bounds checking to ensure that the selected day in the previous month is found in the new month. And if it is not found we should assigned it a closest number.
Edited by Abdullahi Usman