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.

    Annual Dates are off by one day in default Calendar module

    Scheduled Pinned Locked Moved Troubleshooting
    calendardaterepeating
    17 Posts 3 Posters 4.5k 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.
    • S Offline
      sdetweil @ctkjedi
      last edited by sdetweil

      @ctkjedi I submitted a fix for this issue, #2483
      and the fix has been accepted for next release.

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      C 1 Reply Last reply Reply Quote 0
      • C Offline
        ctkjedi @sdetweil
        last edited by

        @sdetweil Awesome. thanks for the follow up!

        1 Reply Last reply Reply Quote 0
        • C Offline
          ctkjedi
          last edited by ctkjedi

          @sdetweil This may or may not be related, so I’m happy to start a new thread.

          I have a weekly D&D game, scheduled for every Saturday evening. The ICS reads as

          BEGIN:VEVENT
          DTSTART;TZID=America/Los_Angeles:20210319T200000
          DTEND;TZID=America/Los_Angeles:20210319T230000
          DTSTAMP:20210316T001016Z
          UID:**REDACTED**
          RECURRENCE-ID;TZID=America/Los_Angeles:20210320T200000
          CREATED:20210213T021153Z
          DESCRIPTION:**REDACTED**
          LAST-MODIFIED:20210315T194037Z
          LOCATION:**REDACTED**
          SEQUENCE:1
          STATUS:CONFIRMED
          SUMMARY:D&D
          TRANSP:OPAQUE
          END:VEVENT
          

          However, I rescheduled this week’s event for Friday, which reflects correctly on Google Calendar, but now all the entries on the mirror have been re-calculated as being on every Friday going forward.

          screengrab.png chrome_2021-03-17_10-26-51_LI.jpg

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

            @ctkjedi can u show the updated ics event with the rule (repeating rule)…

            this one is not repeating

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            C 1 Reply Last reply Reply Quote 0
            • C Offline
              ctkjedi @sdetweil
              last edited by

              @sdetweil

              BEGIN:VEVENT
              DTSTART;TZID=America/Los_Angeles:20210227T200000
              DTEND;TZID=America/Los_Angeles:20210227T230000
              RRULE:FREQ=WEEKLY;BYDAY=SA
              DTSTAMP:20210316T001016Z
              UID:**REDACTED**
              CREATED:20210213T021153Z
              DESCRIPTION:**REDACTED**
              LAST-MODIFIED:20210227T015344Z
              LOCATION:Roll20.net
              SEQUENCE:0
              STATUS:CONFIRMED
              SUMMARY:D&D
              TRANSP:OPAQUE
              END:VEVENT
              
              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @ctkjedi
                last edited by sdetweil

                @ctkjedi thanks… I submitted fix #2488 for this… the library that does repeating rules ASSUMES the date is in local time, not utc time (from the ical parser library)

                this fix has also been accepted for next release (April 1)

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                C 1 Reply Last reply Reply Quote 0
                • C Offline
                  ctkjedi @sdetweil
                  last edited by

                  @sdetweil Rockin!

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

                    @ctkjedi The module is fine. Well, kinda. I had a problem where weekly events were showing up 6 days late. My problem was I had Google Calendar repeat frequency set to “weekly.” It started working when I set it to “every 7 days.”

                    Adjust the frequency on Google and see what it does.

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

                      @memphismark thanks. there were a couple more bugs related to daylight savings, and full day events.

                      one more fix to go in

                      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
                        Memphismark @sdetweil
                        last edited by

                        @sdetweil said in Annual Dates are off by one day in default Calendar module:

                        @memphismark thanks. there were a couple more bugs related to daylight savings, and full day events.

                        one more fix to go in

                        Specifically, it was a weekly occurrence that started after 6pm on Saturdays. It worked fine any other time and DOW. It busted my brain until I solved it by doing the IDIC thing. :-)

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