fix(calendar): convert event times to local timezone on parse #15

Merged
bvandeusen merged 0 commits from dev into main 2026-04-06 23:07:23 -04:00
bvandeusen commented 2026-04-06 23:07:17 -04:00 (Migrated from git.fabledsword.com)

Summary

  • Bug fix: Calendar event times were displaying in UTC instead of the device's local timezone
  • DateTime.parse() returns a UTC DateTime when the server sends ISO strings with a Z suffix; added .toLocal() on startDt and endDt in CalendarEvent.fromJson so all consumers (calendar grid, agenda list, event form) get local times automatically

Test Plan

  • Create an event at a specific local time, verify it displays at that time in the calendar and agenda
  • View an existing event, confirm start/end times match what was entered

🤖 Generated with Claude Code

## Summary - **Bug fix**: Calendar event times were displaying in UTC instead of the device's local timezone - `DateTime.parse()` returns a UTC `DateTime` when the server sends ISO strings with a `Z` suffix; added `.toLocal()` on `startDt` and `endDt` in `CalendarEvent.fromJson` so all consumers (calendar grid, agenda list, event form) get local times automatically ## Test Plan - [ ] Create an event at a specific local time, verify it displays at that time in the calendar and agenda - [ ] View an existing event, confirm start/end times match what was entered 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This repo is archived. You cannot comment on pull requests.
No Reviewers
No Label
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bvandeusen/FabledApp#15