mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-06 07:37:41 +00:00
see #3358 used command: `find ./ -type f -exec perl -i -0pe 's/\/\*\s*magicmirror.*?\*\/\s*//si' {} \;` This is a first draft, I think we should preserve some of the comments.
32 lines
810 B
JavaScript
32 lines
810 B
JavaScript
/* NOTE: calendar_test_exdate.ics has exdate entries for the next 20 years, but without some
|
|
* way to set a debug date for tests, this test may become flaky on specific days (i.e. could
|
|
* not test easily on leap-years, the BYDAY specified in exdate, etc.) or when the 20 years
|
|
* elapses if this project is still in active development ;)
|
|
* See issue #3250
|
|
*/
|
|
let config = {
|
|
timeFormat: 12,
|
|
|
|
modules: [
|
|
{
|
|
module: "calendar",
|
|
position: "bottom_bar",
|
|
config: {
|
|
maximumEntries: 100,
|
|
calendars: [
|
|
{
|
|
maximumEntries: 100,
|
|
maximumNumberOfDays: 364,
|
|
url: "http://localhost:8080/tests/mocks/calendar_test_exdate.ics"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
};
|
|
|
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
|
if (typeof module !== "undefined") {
|
|
module.exports = config;
|
|
}
|