mirror of
https://github.com/MichMich/MagicMirror.git
synced 2026-06-04 18:29:34 +00:00
Updating `node-ical` and adapt logic to new behaviour. ## Problem node-ical 0.23.0 switched from `rrule.js` to `rrule-temporal`, changing how recurring event dates are returned. Our code assumed the old behavior where dates needed manual timezone conversion. ## Solution Updated `getMomentsFromRecurringEvent()` in `calendarfetcherutils.js`: - Removed `tzid = null` clearing (no longer needed) - Simplified timed events: `moment.tz(date, eventTimezone)` instead of `moment.tz(date, "UTC").tz(eventTimezone, true)` - Kept UTC component extraction for full-day events to prevent date shifts