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 shows incorrect time for a single changed event in a series

    Scheduled Pinned Locked Moved Solved Troubleshooting
    9 Posts 4 Posters 640 Views
    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.
    • H
      Hinge
      last edited by

      Hi,

      we use a Google calendar for the MM². My wife and I use this calendar on our cell phones and on the standard calendar at MM².
      I changed a single event in a series from 4:30 p.m. to 4:00 p.m. My wife sees it correctly. It appears correctly online on Google. But the MM² made it 5 p.m.
      The series of appointments was created in summer, when summer time was in force in Germany. All other dates in the series are displayed correctly (4:30 p.m.) regardless of summer or winter time. The appointments on Google have Berlin stored as the time zone.

      Is there something I need to change in the config or is this a previously unknown problem?

      THX a lot!!!

      S 2 Replies Last reply Reply Quote 0
      • S
        sdetweil @gelaw
        last edited by

        @gelaw do

        cd ~/MagicMirror 
         npm install node-ical@0.16.1
        

        Sam

        How to add modules

        learning how to use css

        G 1 Reply Last reply Reply Quote 0
        • S
          sdetweil @Hinge
          last edited by

          @Hinge oh the joy. the library that processes recurring events and moved, has a bug. it’s not ours. I have spent months looking for a fix, none yet.

          Sam

          How to add modules

          learning how to use css

          KristjanESPERANTOK 1 Reply Last reply Reply Quote 1
          • KristjanESPERANTOK
            KristjanESPERANTO Module Developer @sdetweil
            last edited by

            @sdetweil Just out of curiosity: Is the library moment.js?

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

              @KristjanESPERANTO no, rrule

              it expects only local date/times
              node-ical converts all to utc based times…

              so we get some events that have todays date with tomorrows UTC time… Nov 6 -01:30 UTC -8

              for LosAngeles that makes the event date yesterday… Nov 5- 17:30… oops…

              but we in MM don’t ever look at the text in the ICS, so we have NO way of knowing of the mishmash date/time… and it seems to happen MOST with ByDay (only on thrusday or friday) …

              AND EVEN if we DID look at the ICS, we wouldn’t see this, as its a recurring date event, calculated by RRULE. from start and the rules… so unless WE recode RRULE, we would never ever know

              Sam

              How to add modules

              learning how to use css

              1 Reply Last reply Reply Quote 1
              • S sdetweil referenced this topic on
              • S
                sdetweil @Hinge
                last edited by

                @Hinge @KristjanESPERANTO node-ical has just release a new version (0.17.0) which removes the luxon library which causes all the localdate/time issues…

                want to give it a try ? do

                cd ~/MagicMirror
                npm install node-ical@latest
                

                then start mm as usual

                Sam

                How to add modules

                learning how to use css

                G 1 Reply Last reply Reply Quote 0
                • G
                  gelaw @sdetweil
                  last edited by

                  @sdetweil said in Calendar shows incorrect time for a single changed event in a series:

                  @Hinge @KristjanESPERANTO node-ical has just release a new version (0.17.0) which removes the luxon library which causes all the localdate/time issues…

                  want to give it a try ? do

                  cd ~/MagicMirror
                  npm install node-ical@latest
                  

                  then start mm as usual

                  I have the same problem.
                  Did this fix work?
                  Thanks

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

                    @gelaw do

                    cd ~/MagicMirror 
                     npm install node-ical@0.16.1
                    

                    Sam

                    How to add modules

                    learning how to use css

                    G 1 Reply Last reply Reply Quote 0
                    • G
                      gelaw @sdetweil
                      last edited by

                      @sdetweil Thanks!
                      This worked in my first tests. Is this now the official version? or still in work?

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

                        @gelaw this is the version from prior release…

                        we’ll see what happens by April 1.(next mm release)

                        Sam

                        How to add modules

                        learning how to use css

                        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