Hi.
I think there is a bug in in emWin V5.32 related to the CALENDAR_Create function.
With this function it is not possible to initialize the calendar with day 31 of a month. E.g. if you set the current date to 31. Jan 2022 the dialog will not mark the current day.
If you get the seletecd date after that the day will be 0.
My workaround is to use CALENDAR_SetDate after CALENDAR_Create if the initial day is day 31 of a month. CALENDAR_SetDate works like expected and day 31 is marked as the current day then.
Is this a known bug?
I think there is a bug in in emWin V5.32 related to the CALENDAR_Create function.
With this function it is not possible to initialize the calendar with day 31 of a month. E.g. if you set the current date to 31. Jan 2022 the dialog will not mark the current day.
If you get the seletecd date after that the day will be 0.
My workaround is to use CALENDAR_SetDate after CALENDAR_Create if the initial day is day 31 of a month. CALENDAR_SetDate works like expected and day 31 is marked as the current day then.
Is this a known bug?