Skip to content

#2115: fix event date misplacement for UTC+ timezones#2116

Open
Ateina wants to merge 1 commit into
pnp:devfrom
Ateina:2115-calendar-crash-and-filtering
Open

#2115: fix event date misplacement for UTC+ timezones#2116
Ateina wants to merge 1 commit into
pnp:devfrom
Ateina:2115-calendar-crash-and-filtering

Conversation

@Ateina

@Ateina Ateina commented Jun 15, 2026

Copy link
Copy Markdown
Contributor
Q A
Bug fix? [ X ]
New feature? [ ]
New sample? [ ]
Related issues? fixes #2115

What's in this Pull Request?

  • All date.toISOString().split('T')[0] calls replaced with format(date, 'yyyy-MM-dd') from date-fns
  • toLocalDate locale changed from undefined to 'en-US' for consistent toLocaleString parsing across all browsers
  • Added mock events in TestCalendarControl covering the affected edge cases

AEST timezone tested with DevTools Sensors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant