fix(calendar): display event-local times in event timezone#905
fix(calendar): display event-local times in event timezone#905Hilo-Hilo wants to merge 1 commit into
Conversation
|
ClawSweeper review: did not complete due to Codex infrastructure failure. Reviewed July 6, 2026, 7:57 PM ET / 23:57 UTC. Summary Reproducibility: unclear. The review failed before ClawSweeper could establish a reproduction path. Review metrics: none identified. Merge readiness This is a ClawSweeper/Codex infrastructure failure, not a PR readiness or patch-quality verdict. Risk before merge
Maintainer options:
Next step before merge
Review detailsBest possible solution: Retry the Codex review after fixing the execution failure. Do we have a high-confidence way to reproduce the issue? Unclear. The review failed before ClawSweeper could establish a reproduction path. Is this the best way to solve the issue? Unclear. Retry the review first so ClawSweeper can evaluate the actual issue and fix direction. AGENTS.md: unclear because the file could not be read completely. Codex review notes: model internal, reasoning high; reviewed against a1977274de23. Evidence reviewedWhat I checked:
Likely related people:
How this review workflow works
|
Co-authored-by: Hanson Wen <[email protected]>
|
Landed on Maintainer follow-up expanded the regression matrix for invalid/missing timezone fallback and corrected travel events whose start and end carry different timezones, so each endpoint's local time and weekday are resolved independently. Proof: focused timezone tests, full |
Summary
start.timeZone/end.timeZonewhen computing local display fields (startLocal,endLocal, day-of-week, plain table output)Why
Google Calendar events can carry a different timezone from the parent calendar. For example, an ICML conference event stored as
Asia/Seoulon anAsia/Hong_Kongcalendar may be returned as:{ "dateTime": "2026-07-07T07:30:00+08:00", "timeZone": "Asia/Seoul" }That instant is
2026-07-07T08:30:00+09:00in the event's own timezone. The current display path prefers the calendar timezone, so the derived local fields/table display can look one hour early for travel/conference events.Test plan
go test ./internal/cmdgo test ./internal/cmd ./internal/...