callumalpass_tasknotes/docs
callumalpass 0d8613b193
fix: mini calendar off-by-one date display in negative UTC timezones (#822) (#847)
* 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
2025-10-06 21:35:38 +11:00
..
assets docs: add comprehensive subgrouping feature documentation 2025-09-18 11:16:31 +00:00
development feat: complete fr locale and fix i18n tooling 2025-09-23 22:10:35 +10:00
examples/webhook-transforms improve: add detailed error logging for webhook transform failures 2025-09-27 22:26:43 +10:00
features docs: describe task dependencies 2025-09-28 15:42:14 +10:00
releases fix: mini calendar off-by-one date display in negative UTC timezones (#822) (#847) 2025-10-06 21:35:38 +11:00
settings Move timeblocking settings to Features tab with usage instructions 2025-09-16 23:45:02 +10:00
stylesheets Initial documentation 2025-06-29 12:26:57 +10:00
views A time display based on the ‘timeEstimate’ property within tasks has been added to the ‘task & project statistics’ section. 2025-09-23 23:44:00 +03:00
core-concepts.md docs: improve home page, features, and core concepts with natural tone 2025-09-14 11:42:35 +10:00
features.md Merge branch 'time-statistics' 2025-09-27 20:05:42 +10:00
HTTP_API.md time statistics 2025-09-23 08:58:43 +03:00
index.md docs: improve home page, features, and core concepts with natural tone 2025-09-14 11:42:35 +10:00
nlp-api.md docs: update documentation for version 3.23.1 2025-09-13 21:50:39 +10:00
releases.md release 3.18.2 2025-08-11 10:34:55 +10:00
settings.md docs: update documentation for version 3.23.1 2025-09-13 21:50:39 +10:00
TIMEZONE_HANDLING_GUIDE.md docs: fix documentation inaccuracies and broken navigation links 2025-09-14 10:35:31 +10:00
TIMEZONE_HANDLING_UTC.md docs: fix documentation inaccuracies and broken navigation links 2025-09-14 10:35:31 +10:00
TIMEZONE_QUICK_REFERENCE.md docs: fix documentation inaccuracies and broken navigation links 2025-09-14 10:35:31 +10:00
troubleshooting.md docs: fix documentation inaccuracies and broken navigation links 2025-09-14 10:35:31 +10:00
views.md feat: add OpenAPI specification and Pomodoro API endpoints 2025-08-13 22:12:14 +10:00
webhooks.md docs: add webhook transform examples and documentation 2025-08-13 12:46:08 +10:00
workflows.md docs: update documentation for version 3.23.1 2025-09-13 21:50:39 +10:00