View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0006154 | Composr | calendar | public | 2025-02-26 21:17 | 2025-02-26 23:59 |
| Reporter | Patrick Schmalstig | Assigned To | Chris Graham | ||
| Severity | Minor-bug | ||||
| Status | resolved | Resolution | fixed | ||
| Product Version | |||||
| Fixed in Version | |||||
| Summary | 0006154: 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 | ||||
| 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 | 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 |