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.

    Calendar module shows entries outer range

    Scheduled Pinned Locked Moved Solved Troubleshooting
    12 Posts 2 Posters 2.2k 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.
    • S Offline
      sdetweil @Monkye
      last edited by

      @monkye can you paste the cal config here

      make the url xxxxx

      remember to use the code block markers

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      M 1 Reply Last reply Reply Quote 0
      • M Offline
        Monkye @sdetweil
        last edited by

        @sdetweil No problem, the url’s are not a secret :-).

        {
        	module: "calendar",
        	position: "top_left",   // This can be any of the regions. Best results in left or right regions.
        	fetchInterval: 240000,
        	config: {
        		maximumNumberOfDays: 30,
        		maximumEntries: 10,
        		getRelative: 0,
        		calendars: [
        				{
        					symbol: "birthday-cake",
        					url: "http://localhost:8080/modules/default/calendars/1.ics",
        			},
        				{
        					symbol: "calendar-check-o",
        					url: "https://www.zaoe.de/ical/8231/_1-3-4-6/23/"
        			}
        		]
        	}
        },
        
        M 1 Reply Last reply Reply Quote 0
        • M Offline
          Monkye @Monkye
          last edited by

          And here a picture - SORRY german only

          The Lines marking the events out of date range
          red: december
          blue: august
          yellow: july

          8593dba5-71fd-47be-8547-e7569b12f27a-grafik.png

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Monkye
            last edited by

            @monkye but those say Friday and Sunday…

            show me the vevent from the ics

            use the url

            curl -sL url >somfile.ics
            

            then edit the ics w a text editor, it’s just a text file

            each event does

            BEGIN:VEVENT
            .
            .
            .
            END:VEVENT
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              Monkye @sdetweil
              last edited by

              @sdetweil Can I sent you a board mail?

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @Monkye
                last edited by

                @monkye u can send text to my email. same userid at gmail

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                M 1 Reply Last reply Reply Quote 0
                • M Offline
                  Monkye @sdetweil
                  last edited by

                  @sdetweil I sent you the mail to your account. Thank you in advance

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @Monkye
                    last edited by

                    @monkye thanks for the ics file…

                    reviewing the events, this is a bug in the RRULE processor the calendar module uses
                    but not our code

                    https://github.com/jakubroztocil/rrule/issues/275

                    if you remove the BYMONTHDAY=11

                    RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTHDAY=11
                    

                    then it works as expected

                    just for info, this issue was opened on Sep 5, 2018 and has not yet been fixed
                    so I am not hopeful on a more timely resolution

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      Monkye
                      last edited by

                      Many, many THANKS to you. I‘m happy that you resolve this problem

                      M 1 Reply Last reply Reply Quote 0
                      • M Offline
                        Monkye @Monkye
                        last edited by

                        Workaround:
                        A little script solve the problem. In the ICS-file at HOME directory will the „BYMONTHDAY“ part deleted.

                        
                        sed -r 's/INTERVAL=1;BYMONTHDAY=[0-9][0-9]?/INTERVAL=1/g' /
                        ~/mycalendar.ics
                        
                        
                        S 1 Reply Last reply Reply Quote 1
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          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