Bug in TMSFNCCalendar:
when a calendar is set to a month with fewer days then current month and the current day is higher, a dateencode error occurs.
I placed a calendar on a form (vcl) and set the month to "june 2022". Everything goes fine until the application is executed on a day that is higher then the last day in the month set at design time (ie 31-03-2022) .
Today (31-03) I also noticed that trying to set the month to any other month with less then 31 days at design time, also gives a date encode error. In the screenshot, I first set the month to jan 2022 without any problem. Then trying to set the month to 2 (february), the date encode error occurs.