MagicMirror² v2.13.0 is available! For more information about this release, check out this topic.

Calendar excludedEvents behavior not as expected?



  • I am having trouble with the excludedEvents parameter in the calendar module. I can get some words to filter but not others. For instance I if I have the following two events on the calendar:

    School Early Dismissal
    Roger’s Special - Art

    If I enter ‘Early’ in the excludedEvents array then as expected the School Early Dismissal goes away. If I enter ‘Roger’ or ‘Art’ or ‘Special’ then I can’t get the second event to filter out.

    I have 3 calendars. I tried eliminating all but the one that pulls the “Roger’s Special - Art” event and still no luck. I am starting to think that there is something about that calendar ics that prevents events from being filtered? Is this possible?

    		module: "calendar",
    			header: "Calendar",
    			position: "top_left",
    			config: {
    				maxTitleLength: "30",
    				timeFormat: "absolute",
    				nextDaysRelative: true,
    				titleReplace: {'SPECIAL MEETING':'meeting'},
    				displaySymbol: false,
    				//maximumNumberOfDays: "62",
    				fade: false,
    				excludedEvents: ['Special'],
    				calendars: [
    					{
    						
    						// symbol: "calendar-check-o ",
    						url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics",
    						maxTitleLength: "17"
    					},
    

Log in to reply