Release 2.33.0 (#3903)

This commit is contained in:
Kristjan ESPERANTO
2025-09-30 18:02:22 +02:00
committed by GitHub
parent 62b0f7f26e
commit b0c5924019
77 changed files with 2811 additions and 2654 deletions

View File

@@ -3,7 +3,7 @@
*/
const moment = require("moment-timezone");
const Log = require("../../../js/logger");
const Log = require("logger");
const CalendarFetcherUtils = {
@@ -16,7 +16,7 @@ const CalendarFetcherUtils = {
* until: the date until the event should be excluded.
*/
shouldEventBeExcluded (config, title) {
let filter = {
let result = {
excluded: false,
until: null
};
@@ -55,14 +55,14 @@ const CalendarFetcherUtils = {
if (CalendarFetcherUtils.titleFilterApplies(testTitle, filter, useRegex, regexFlags)) {
if (until) {
filter.until = until;
result.until = until;
} else {
filter.excluded = true;
result.excluded = true;
}
break;
}
}
return filter;
return result;
},
/**