one more offset only test

This commit is contained in:
Sam Detweiler 2020-10-28 13:10:24 -05:00
parent 82c742f964
commit 844a59d880

View File

@ -417,8 +417,8 @@ const CalendarFetcher = function (url, reloadInterval, excludedEvents, maximumEn
const regex = /[+|-]\d*:\d*/; const regex = /[+|-]\d*:\d*/;
mmo = event.start.tz.match(regex).toString(); mmo = event.start.tz.match(regex).toString();
mms = mmo; mms = mmo;
if (debug) Log.log("ical offset=" + mmo); if (debug) Log.log("ical offset=" + mmo + " date=" + date);
mm = moment.tz(moment(date)); mm = moment(date);
mm = mm.utcOffset(mmo); mm = mm.utcOffset(mmo);
} else { } else {
// get the start time in that timezone // get the start time in that timezone