mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
one more offset only test
This commit is contained in:
parent
82c742f964
commit
844a59d880
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user