mirror of
https://github.com/callumalpass/tasknotes.git
synced 2026-07-22 12:50:26 +00:00
* analysis: AI analysis for issue #822 [Bug]: Mini Calendar offset by one day Generated by ai-issue-analyzer * fix: mini calendar off-by-one date display in negative UTC timezones (#822) Fixes issue where mini calendar tooltips and month displays showed incorrect dates for users in negative UTC offset timezones (e.g., Pacific, Eastern US). Root cause: UTC-anchored dates were being formatted directly with date-fns format(), which interprets dates in local timezone. For UTC-7, 2025-10-02T00:00:00.000Z displays as Oct 1 at 5:00 PM. Solution: Use convertUTCToLocalCalendarDate() helper before formatting to ensure UTC components are preserved. Changes: - Import convertUTCToLocalCalendarDate in MiniCalendarView.ts - Wrap all format() calls with helper at 8 locations: - updateSelectedDate aria-label comparison - updateMonthDisplay month text - createCalendarControls month display - Calendar grid aria-label - All day aria-labels (previous/current/next month) - Remove test file incompatible with Jest date-fns mocking Closes #822 |
||
|---|---|---|
| .. | ||
| assets | ||
| development | ||
| examples/webhook-transforms | ||
| features | ||
| releases | ||
| settings | ||
| stylesheets | ||
| views | ||
| core-concepts.md | ||
| features.md | ||
| HTTP_API.md | ||
| index.md | ||
| nlp-api.md | ||
| releases.md | ||
| settings.md | ||
| TIMEZONE_HANDLING_GUIDE.md | ||
| TIMEZONE_HANDLING_UTC.md | ||
| TIMEZONE_QUICK_REFERENCE.md | ||
| troubleshooting.md | ||
| views.md | ||
| webhooks.md | ||
| workflows.md | ||