• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

maximumNumberOfDays not working

Scheduled Pinned Locked Moved Bug Hunt
3 Posts 2 Posters 479 Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    JüNi
    last edited by Dec 30, 2020, 4:04 PM

    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

    S 1 Reply Last reply Dec 30, 2020, 4:36 PM Reply Quote 0
    • S Away
      sdetweil @JüNi
      last edited by Dec 30, 2020, 4:36 PM

      @JüNi no quotes around numbers

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • J Offline
        JüNi
        last edited by Dec 30, 2020, 5:08 PM

        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,
        							},
        						],
        					},
        		},
        
        1 Reply Last reply Reply Quote 1
        • 1 / 1
        1 / 1
        • First post
          2/3
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy