From e7f06f5c0c928cf5e646af5bf9ff01f3dac04854 Mon Sep 17 00:00:00 2001 From: Julian Dinter Date: Sun, 22 Aug 2021 14:06:24 +0200 Subject: [PATCH] Removed duplicated and thus superfluous debug messages. --- modules/default/calendar/calendarutils.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/modules/default/calendar/calendarutils.js b/modules/default/calendar/calendarutils.js index 041c3882..ad24182f 100644 --- a/modules/default/calendar/calendarutils.js +++ b/modules/default/calendar/calendarutils.js @@ -334,9 +334,8 @@ const CalendarUtils = { if (dateoffset < 0) { // If the date hour is less than the offset if (dh < Math.abs(dateoffset / 60)) { - // reduce the time by the offset - Log.debug(" recurring date is " + date + " offset is " + dateoffset); - // apply the correction to the date/time to get it UTC relative + // Reduce the time by the offset: + // Apply the correction to the date/time to get it UTC relative date = new Date(date.getTime() - Math.abs(nowOffset) * 60000); // the duration was calculated way back at the top before we could correct the start time.. // fix it for this event entry @@ -363,9 +362,8 @@ const CalendarUtils = { if (dateoffset < 0) { // if the date hour is less than the offset if (dh < Math.abs(dateoffset / 60)) { - // reduce the time by the offset - Log.debug(" recurring date is " + date + " offset is " + dateoffset); - // apply the correction to the date/time to get it UTC relative + // Reduce the time by the offset: + // Apply the correction to the date/time to get it UTC relative date = new Date(date.getTime() - Math.abs(nowOffset) * 60000); // the duration was calculated way back at the top before we could correct the start time.. // fix it for this event entry