View Issue Details

IDProjectCategoryView StatusLast Update
0006154Composrcalendarpublic2025-02-26 23:59
ReporterPatrick SchmalstigAssigned ToChris Graham 
SeverityMinor-bug 
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0006154: calendar_matches: Incorrect time zone conversions
DescriptionThe calendar_matches function is not correctly calculating events based off of the provided user times. For some reason it is assuming UTC.

I am unable to fix this. Realtime rain for calendar events temporarily disabled until this is fixed.
TagsRoadmap: v11
Time estimation (hours)
Sponsorship open

Activities

Patrick Schmalstig

2025-02-26 23:59

administrator   ~0009823

I figured out the issue. It wasn't calendar_matches; it was the realtime_rain hook. The hook was using the wrong calendar_matches array index for determining timestamp. Additionally, $from and $to needed to be converted from UTC (which is how it is passed through AJAX) to user time before being passed into calendar_matches.

Issue History

Date Modified Username Field Change
2025-02-26 21:17 Patrick Schmalstig New Issue
2025-02-26 21:17 Patrick Schmalstig Status non-assigned => assigned
2025-02-26 21:17 Patrick Schmalstig Assigned To => Chris Graham
2025-02-26 21:17 Patrick Schmalstig Tag Attached: Roadmap: v11
2025-02-26 23:59 Patrick Schmalstig Status assigned => resolved
2025-02-26 23:59 Patrick Schmalstig Resolution open => fixed
2025-02-26 23:59 Patrick Schmalstig Note Added: 0009823