mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 03:39:55 +00:00
Fixes: #3256 BUT.. the testcase is inconclusive.. as the code FAILS without the fix, BUT somehow RETURNS 0 entries.. in real life run the node helper fails, and all calendar processing stops.
28 lines
536 B
JavaScript
28 lines
536 B
JavaScript
/* MagicMirror² Test ics with out of date event causing bad return from rrule.between
|
|
*
|
|
* By Sam Detweiler
|
|
* MIT Licensed.
|
|
*/
|
|
let config = {
|
|
timeFormat: 12,
|
|
logLevel: ["INFO", "LOG", "WARN", "ERROR", "DEBUG"],
|
|
modules: [
|
|
{
|
|
module: "calendar",
|
|
position: "bottom_bar",
|
|
config: {
|
|
calendars: [
|
|
{
|
|
url: "http://localhost:8080/tests/mocks/bad_rrule.ics"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
};
|
|
|
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
|
if (typeof module !== "undefined") {
|
|
module.exports = config;
|
|
}
|