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.

    Google Calendars Timezone Off-By-One Hour

    Scheduled Pinned Locked Moved Bug Hunt
    10 Posts 2 Posters 1.3k Views 3 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.
    • L Offline
      lksdf978
      last edited by

      Ever since Daylight Savings Time (EDT) ended, the time for any events created in Google Calendar are being set back one hour. The events display correctly in Google Calendar, iOS, and on the desktop, but MagicMirror seems to assume it needs to roll back the times. I have attempted using older versions of MagicMirror (back to 2.10.0) and I am currently sitting on the develop branch, each without luck. I would appreciate any and all assistance and/or advice the community has to give. I will also be willing to help troubleshoot any way that I can.

      Thank you in advance!

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

        @lksdf978 switch to the develop branch for the latest fixes. one more to come

        see the topic at the top of the troubleshooting section for instructions
        https://forum.magicmirror.builders/topic/13770/2-13-calendar-fix-for-office-365-users/2

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • L Offline
          lksdf978
          last edited by

          @sdetweil I am currently running on the develop branch. I did forget to run npm install, but that did not change anything after restarting the mirror again. The weird thing is, not all events are an hour off. What should I look for?

          1 Reply Last reply Reply Quote 0
          • L Offline
            lksdf978
            last edited by

            @sdetweil FWIW, deleting and re-creating the event seems to work; hopefully this won’t be a recurring thing when the time changes again. :)

            If you still wish to troubleshoot, I’m ready and available.

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

              @lksdf978 did u save the prior event?

              I would like to see the info in the ics file ( it’s just text)

              I will be away from my system til next sat 14th.

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • L Offline
                lksdf978
                last edited by

                Here is the beginning of the ics (before the first event), and one of the events that are off-by-one:

                BEGIN:VCALENDAR
                PRODID:-//Google Inc//Google Calendar 70.9054//EN
                VERSION:2.0
                CALSCALE:GREGORIAN
                METHOD:PUBLISH
                X-WR-CALNAME:John Paul 
                X-WR-TIMEZONE:America/New_York
                BEGIN:VTIMEZONE
                TZID:America/New_York
                X-LIC-LOCATION:America/New_York
                BEGIN:DAYLIGHT
                TZOFFSETFROM:-0500
                TZOFFSETTO:-0400
                TZNAME:EDT
                DTSTART:19700308T020000
                RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU
                END:DAYLIGHT
                BEGIN:STANDARD
                TZOFFSETFROM:-0400
                TZOFFSETTO:-0500
                TZNAME:EST
                DTSTART:19701101T020000
                RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU
                END:STANDARD
                END:VTIMEZONE
                

                The following displays as 6:30am through 9:30am

                BEGIN:VEVENT
                DTSTART;TZID=America/New_York:20201028T073000
                DTEND;TZID=America/New_York:20201028T103000
                EXDATE;TZID=America/New_York:20201103T073000
                RRULE:FREQ=WEEKLY;WKST=SU;UNTIL=20210601T035959Z;BYDAY=FR,MO,TH,TU,WE
                DTSTAMP:20201106T114410Z
                UID:DE090EB0-49C0-4E06-98AE-F2BD7386F847
                CREATED:20201028T111707Z
                DESCRIPTION:
                LAST-MODIFIED:20201105T123002Z
                LOCATION:
                SEQUENCE:4
                STATUS:CONFIRMED
                SUMMARY:JP: Morning Meeting
                TRANSP:OPAQUE
                X-APPLE-TRAVEL-ADVISORY-BEHAVIOR:DISABLED
                BEGIN:VALARM
                ACTION:NONE
                TRIGGER;VALUE=DATE-TIME:19760401T005545Z
                X-WR-ALARMUID:AADE8A31-CBF0-49DD-AC18-DDEA1D7F8EA0
                UID:AADE8A31-CBF0-49DD-AC18-DDEA1D7F8EA0
                ACKNOWLEDGED:20201105T123002Z
                END:VALARM
                END:VEVENT
                

                For comparison, here is an event I created yesterday that displays correctly:

                BEGIN:VEVENT
                DTSTART;TZID=America/New_York:20201105T130500
                DTEND;TZID=America/New_York:20201105T140500
                RRULE:FREQ=WEEKLY;WKST=SU;UNTIL=20210602T035959Z;BYDAY=MO,TH,TU,WE
                DTSTAMP:20201106T114410Z
                UID:3cr68na953sr1uaei12jg2p292@google.com
                CREATED:20201105T171800Z
                DESCRIPTION:
                LAST-MODIFIED:20201105T180504Z
                LOCATION:
                SEQUENCE:0
                STATUS:CONFIRMED
                SUMMARY:JP Specials Call
                TRANSP:OPAQUE
                X-APPLE-TRAVEL-ADVISORY-BEHAVIOR:AUTOMATIC
                BEGIN:VALARM
                ACTION:NONE
                TRIGGER;VALUE=DATE-TIME:19760401T005545Z
                X-WR-ALARMUID:28E7B417-A7FD-4035-B013-BB8DE130B977
                UID:28E7B417-A7FD-4035-B013-BB8DE130B977
                ACKNOWLEDGED:20201105T180504Z
                X-APPLE-DEFAULT-ALARM:TRUE
                END:VALARM
                END:VEVENT
                
                S 2 Replies Last reply Reply Quote 0
                • S Offline
                  sdetweil @lksdf978
                  last edited by

                  @lksdf978 great thanks. I think this is the rrrule problem. the fix is waiting to be merged.

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    @lksdf978 the latest fixes have been merged into the develop branch. you can git pull to refresh them. npm install again to get the latest node-ical update too

                    put that entry back in an ics file in the calendar module folder to test

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • L Offline
                      lksdf978
                      last edited by

                      My apologies for the late response, but I just pulled down develop, did an npm install, and reloaded MagicMirror. The issue still persists. I even went so far as deleting node_modules and reinstalling just in case. I did check the git log to be sure the changes in node_ical version was present, and it is. Any other ideas?

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

                        @lksdf978 still waiting for one fix to be accepted

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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