When using the iCal button in the OPAC, items coming due show on the calendar the day following their due date in Koha. This results in no calendar notifications going out to the patron until the items are already overdue.
It works for me in main, but I see the problem in our production system (23.05). I wonder if it has something to do with the date/time on the server?
Since a book due on 20240627 is actually due at 20240627T2359, bug 30927 switched from an event that would alert you one minute before midnight to an all day event, but according to my 23.05 production system too, that all day event is the day after, not the day of. Timezones are hard. Since we're testing in main where server time is UTC and not seeing it, it smells like it sets an all day event for the day it is in UTC when 23:59 occurs in server-time.