mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-01 03:06:52 +01:00
6722b0e627
If `startWeekWithCurrentDay` was enabled, `highlightWeekends` lead to the wrong days beeing highlighted, because the column index passed to `isWeekend` didn't correspond to the day of week anymore. This change fixes this by using `curDay.dayOfWeek` instead.