View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
6154 | Composr | calendar | public | 2025-02-26 21:17 | 2025-02-26 23:59 |
Reporter | PDStig | Assigned To | Chris Graham | ||
Priority | normal | Severity | minor | ||
Status | resolved | Resolution | fixed | ||
Summary | 6154: calendar_matches: Incorrect time zone conversions | ||||
Description | The 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. | ||||
Tags | Roadmap: v11 | ||||
Attach Tags | |||||
Time estimation (hours) | |||||
Sponsorship open | |||||
|
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. |
Date Modified | Username | Field | Change |
---|---|---|---|
2025-02-26 21:17 | PDStig | New Issue | |
2025-02-26 21:17 | PDStig | Status | Not Assigned => Assigned |
2025-02-26 21:17 | PDStig | Assigned To | => Chris Graham |
2025-02-26 21:17 | PDStig | Tag Attached: Roadmap: v11 | |
2025-02-26 23:59 | PDStig | Status | Assigned => Resolved |
2025-02-26 23:59 | PDStig | Resolution | open => fixed |
2025-02-26 23:59 | PDStig | Note Added: 0009823 |