mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 04:02:12 +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*/;
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user