diff --git a/modules/default/calendar/calendarfetcher.js b/modules/default/calendar/calendarfetcher.js index 7adbb2d0..5d87d7c8 100644 --- a/modules/default/calendar/calendarfetcher.js +++ b/modules/default/calendar/calendarfetcher.js @@ -417,8 +417,8 @@ const CalendarFetcher = function (url, reloadInterval, excludedEvents, maximumEn const regex = /[+|-]\d*:\d*/; mmo = event.start.tz.match(regex).toString(); mms = mmo; - if (debug) Log.log("ical offset=" + mmo); - mm = moment.tz(moment(date)); + if (debug) Log.log("ical offset=" + mmo + " date=" + date); + mm = moment(date); mm = mm.utcOffset(mmo); } else { // get the start time in that timezone