Files
huly-platform/plugins
b27b511e7a fix: Calendar timezone day-shift bug (#7048) (#10459)
Events scheduled for today were appearing in tomorrow's column due to
raw millisecond arithmetic not handling timezone transitions properly.

Changes:
- Replace MILLISECONDS_IN_DAY * day arithmetic with Date.setDate()
- Fix mutation bug where date parameter was being modified
- Use proper calendar day arithmetic that handles DST/timezone

Tested in Brisbane timezone (GMT+10) - events now display in correct column.

Signed-off-by: Dominic O'Carroll <99632940+domocarroll@users.noreply.github.com>
Co-authored-by: Dom Carroll <dom@subfrac.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 13:44:14 +07:00
..
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2026-01-10 22:12:51 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2026-01-09 12:54:43 +07:00
2025-11-26 23:24:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-12-18 00:40:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-11-27 00:01:53 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-12-18 00:40:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-12-18 00:40:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 21:10:29 +05:00
2025-11-26 23:24:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00
2025-11-26 23:24:41 +05:00
2025-12-18 00:40:41 +05:00
2025-12-18 00:40:41 +05:00
2025-12-18 00:40:41 +05:00
2025-11-26 23:24:41 +05:00