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

maximumNumberOfDays not working



  • I cant get maximumNumberOfDays working, tried several things like putting it in front of the config, in the config or after the config, days as number or string, nothing worked for me. My last config:

    		 {
    				module: "calendar",
    				header: "Abfallkalender",
    				position: "top_left",
    				config:
    					{
    						calendars: [
    							{
    									url: "https://calendar.google.com/calendar/ical/...group.calendar.google.com/private-.../basic.ics",
    							},
    						],
    					},
     				maximumNumberOfDays: '7',
    		},
    

    201230.PNG



  • @JüNi no quotes around numbers



  • finally got it working with

    		 {
    				module: "calendar",
    				header: "Abfallkalender",
    				position: "top_left",
    				config:
    					{
    						calendars: [
    							{
    									url: "https://calendar.google.com/calendar/ical/...group.calendar.google.com/private-.../basic.ics",
    	                                maximumNumberOfDays: 14,
    	                            	maximumEntries: 5,
    							},
    						],
    					},
    		},
    

Log in to reply