callumalpass_tasknotes/tests/unit/timezone-bugs
Callum Alpass 5b51e8b9ab fix: Replace setUTC anti-pattern with local date arithmetic
- Replace setUTCDate() with setDate() in calculateDefaultDate helper
- Replace setUTCMonth() with setMonth() in MiniCalendarView navigation
- Add timezone-safe test cases for parseDateToUTC contract and setUTC anti-pattern
- Remove obsolete timezone bug reproduction tests

These changes eliminate timezone-related date calculation bugs by using
consistent local date arithmetic instead of the problematic UTC manipulation
pattern that caused incorrect results across different timezones.
2025-08-03 07:25:00 +10:00
..
parseDateToUTC-contract-bug.test.ts fix: Replace setUTC anti-pattern with local date arithmetic 2025-08-03 07:25:00 +10:00
setutc-antipattern-bug.test.ts fix: Replace setUTC anti-pattern with local date arithmetic 2025-08-03 07:25:00 +10:00
timezone-bugs-focused.test.ts fix: Comprehensive timezone bug fixes for ChronoSync 2025-08-02 23:32:35 +10:00
timezone-fixes-simple.test.ts fix: Comprehensive timezone bug fixes for ChronoSync 2025-08-02 23:32:35 +10:00