MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.

    maximumNumberOfDays not working

    Bug Hunt
    2
    3
    236
    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
      JüNi last edited by

      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 Reply Quote 0
      • S
        sdetweil @JüNi last edited by

        @JüNi no quotes around numbers

        Sam

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • J
          JüNi last edited by

          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
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy