MagicMirror² v2.13.0 is available! For more information about this release, check out this topic.

default-calendar recurring events aren't being adjusted for the timezone.



  • I bet this is a quick one, since it looks like there are some calendar fixes that @sdetweil pointed some people to. I couldn’t find them.

    I am just getting started and I have a google calendar, and I’ve added some events. Then I switched some of the events to recurring, and they are categorized at the wrong time/days.

    The clock display is correct (so I think I have the timezone right). The single events are showing up in the right places. But the recurring events are off by 6 hours (I live in Denver, -6).

    I took a peek at the ical from google calendar. This event is displayed at the right time:

    It should be displayed at 2:01pm, and it is.

    BEGIN:VEVENT
    DTSTART:20201001T200100Z
    DTEND:20201001T203100Z
    DTSTAMP:20201001T184424Z
    UID:something@google.com
    CREATED:20201001T184028Z
    DESCRIPTION:
    LAST-MODIFIED:20201001T184419Z
    LOCATION:
    SEQUENCE:1
    STATUS:CONFIRMED
    SUMMARY:maths
    TRANSP:OPAQUE
    END:VEVENT
    

    This one is wrong. It should be at 2:00pm, and it’s showing up at 8am.

    BEGIN:VEVENT
    DTSTART;TZID=America/Denver:20201001T140000
    DTEND;TZID=America/Denver:20201001T150000
    RRULE:FREQ=WEEKLY;BYDAY=FR,MO,TH,TU,WE
    DTSTAMP:20201001T184424Z
    UID:something@google.com
    CREATED:20201001T143135Z
    DESCRIPTION:
    LAST-MODIFIED:20201001T163125Z
    LOCATION:
    SEQUENCE:2
    STATUS:CONFIRMED
    SUMMARY:Math Class
    TRANSP:OPAQUE
    END:VEVENT
    

    I’m assuming the trouble is that this isn’t being read correctly:

    DTSTART;TZID=America/Denver:20201001T140000
    DTEND;TZID=America/Denver:20201001T150000
    

    But this is:

    DTSTART:20201001T200100Z
    DTEND:20201001T203100Z
    


  • @jeffeb3 what version? a bunch of fixes just went in today for calendar timezones

    i removed the sticky notes for version 2.12



  • It is a docker image from a few days ago. I built so many in the last 3 days I can’t remember if I picked :stable or :latest. I can try to pull the latest docker image.

    bastilimbach/docker-magicmirror "./docker-entrypoi..." 22 hours ago

    I’m not in a rush. If this stuff is just flowing through, I can wait a day or two, pull, and report back.



  • @jeffeb3 I don’t know if docker has been updated TODAY (as release came out this morning)



  • root@721ce56f7bbf:/opt/magic_mirror# git log -n 1
    commit 018cb9152689b1f1f262e6f3bfbf71cc99a9e59c (grafted, HEAD, tag: v2.12.0)
    Author: Michael Teeuw 
    Date:   Wed Jul 1 20:04:36 2020 +0200
    
        Merge pull request #2064 from MichMich/develop
    
        Release 2.12.0
    

    This is the git log from inside the container, in /opt/magic_mirror, which I assume means I have 2.12.0.



  • @jeffeb3 yep



  • The docker container isn’t updated yet (not a surprise) but I did just pull 2.13.0 and ran npm install, then restarted the container and it is displaying those in the right timezone now.

    Thank you for the help. Great forums here. That’s only possible with great contributors.



  • @jeffeb3 said in default-calendar recurring events aren’t being adjusted for the timezone.:

    and it is displaying those in the right timezone now.

    awesome… thanks so much for the extra effort to test…


Log in to reply