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.

    Issue with Outlook recurring events

    Scheduled Pinned Locked Moved Solved Troubleshooting
    15 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 @WallysWellies
      last edited by

      @WallysWellies thanks, forgot to ask what timezone you are in

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      W 1 Reply Last reply Reply Quote 0
      • W Offline
        WallysWellies @sdetweil
        last edited by

        @sdetweil I’m in the UK. Since it’s British summer time I don’t know if that means I’m UTC+1 or something else… GMT, BST… Stupid changing clocks!

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

          @WallysWellies this fix sets the rrule:until to start of day+1 day for fullday events (tested in LA, Chicago, London and Sydney timezones)

          add three lines
          modules/default/calendarcalendarfetcherutils.js

          					event.start = rule.options.dtstart;  // old code line 294
                                                  // insert these three lines
          					if((rule.options.until != undefined) && CalendarFetcherUtils.isFullDayEvent(event)){
          						Log.debug("fixup rrule until")
          						rule.options.until = new Date(new Date(moment(rule.options.until).startOf("day").add(1,"day")).getTime())
          					}
          
          					Log.debug("fix rrule start=", rule.options.dtstart); // old code line 301

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          W 1 Reply Last reply Reply Quote 0
          • W Offline
            WallysWellies @sdetweil
            last edited by

            @sdetweil Thank you - that has fixed my upcoming calendar event 👍

            S 3 Replies Last reply Reply Quote 1
            • S Offline
              sdetweil @WallysWellies
              last edited by

              @WallysWellies cool, i will submit as a change for next release

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @WallysWellies you will need to use my upgrade script and reply no to keeping the changed files
                see https://github.com/sdetweil/MagicMirror_scripts

                note upgrade is a two part process
                test, do nothing (highlight exposed files, if any)
                do upgrade

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 1
                • S sdetweil has marked this topic as solved on
                • S Offline
                  sdetweil @WallysWellies
                  last edited by

                  @WallysWellies I opened issue 3781
                  https://github.com/MagicMirrorOrg/MagicMirror/issues/3781
                  and pushed the fix and testcase for next release

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  W 1 Reply Last reply Reply Quote 0
                  • W Offline
                    WallysWellies @sdetweil
                    last edited by

                    @sdetweil Thank you!

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

                      @WallysWellies this was accepted and added to the next release

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • W Offline
                        WallysWellies
                        last edited by

                        Hi Sam,

                        I’m afraid this issue has reoccurred on an event that is not full day but instead is supposed to be the last in a series. I believe it’s the same issue though where the timezone / BST is causing the problem.

                        Sample ICS data below:

                        BEGIN:VCALENDAR
                        METHOD:PUBLISH
                        PRODID:Microsoft Exchange Server 2010
                        VERSION:2.0
                        X-WR-CALNAME:Test Calendar
                        BEGIN:VTIMEZONE
                        TZID:GMT Standard Time
                        BEGIN:STANDARD
                        DTSTART:16010101T020000
                        TZOFFSETFROM:+0100
                        TZOFFSETTO:+0000
                        RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=10
                        END:STANDARD
                        BEGIN:DAYLIGHT
                        DTSTART:16010101T010000
                        TZOFFSETFROM:+0000
                        TZOFFSETTO:+0100
                        RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=3
                        END:DAYLIGHT
                        END:VTIMEZONE
                        BEGIN:VEVENT
                        RRULE:FREQ=WEEKLY;UNTIL=20250630T173000Z;INTERVAL=1;BYDAY=MO;WKST=MO
                        UID:040000008200E00074C5B7101A82E00800000000E05582F27408DB01000000000000000
                         010000000E892CDFA6C0E4E4298E1C987B4791120
                        SUMMARY:Calendar Event
                        DTSTART;TZID=GMT Standard Time:20250331T183000
                        DTEND;TZID=GMT Standard Time:20250331T200000
                        CLASS:PUBLIC
                        PRIORITY:5
                        DTSTAMP:20250630T164141Z
                        TRANSP:OPAQUE
                        STATUS:CONFIRMED
                        SEQUENCE:0
                        LOCATION:
                        X-MICROSOFT-CDO-APPT-SEQUENCE:0
                        X-MICROSOFT-CDO-BUSYSTATUS:BUSY
                        X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
                        X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
                        X-MICROSOFT-CDO-IMPORTANCE:1
                        X-MICROSOFT-CDO-INSTTYPE:1
                        X-MICROSOFT-DONOTFORWARDMEETING:FALSE
                        X-MICROSOFT-DISALLOW-COUNTER:FALSE
                        X-MICROSOFT-REQUESTEDATTENDANCEMODE:DEFAULT
                        X-MICROSOFT-ISRESPONSEREQUESTED:FALSE
                        END:VEVENT
                        END:VCALENDAR
                        

                        I’ve stripped out most of the content other than the event in question and the timezone info.

                        You’ll see that the DTSTART and DTEND data shows the correct start and end time but the RRULE shows the UNTIL as an hour before the event so the event does not show on the MM calendar module.

                        The event in Outlook shows the series being every Monday until 1st July.

                        I’m not sure if this “bug” is a problem with Outlook or MagicMirror.

                        Happy to start a new thread, or log a bug on GitHub if either of those is preferrable.

                        S 1 Reply Last reply Reply Quote 0
                        • 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