Bug 37191 - iCal shows items due one day later than due date in Koha
Summary: iCal shows items due one day later than due date in Koha
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: 24.05
Hardware: All All
: P5 - low normal
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-25 21:48 UTC by Heather Rommens
Modified: 2024-06-26 14:36 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heather Rommens 2024-06-25 21:48:10 UTC
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.
Comment 1 Owen Leonard 2024-06-26 11:23:14 UTC
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?
Comment 2 Phil Ringnalda 2024-06-26 14:36:06 UTC
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.