• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

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

Scheduled Pinned Locked Moved Troubleshooting
8 Posts 2 Posters 776 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.
  • J Offline
    jeffeb3
    last edited by Oct 1, 2020, 7:20 PM

    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
    
    S 1 Reply Last reply Oct 1, 2020, 7:23 PM Reply Quote 0
    • S Offline
      sdetweil @jeffeb3
      last edited by sdetweil Oct 1, 2020, 7:23 PM Oct 1, 2020, 7:23 PM

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

      i removed the sticky notes for version 2.12

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • J Offline
        jeffeb3
        last edited by jeffeb3 Oct 1, 2020, 7:27 PM Oct 1, 2020, 7:25 PM

        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.

        S 1 Reply Last reply Oct 1, 2020, 7:27 PM Reply Quote 0
        • S Offline
          sdetweil @jeffeb3
          last edited by Oct 1, 2020, 7:27 PM

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

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • J Offline
            jeffeb3
            last edited by Oct 1, 2020, 7:30 PM

            root@721ce56f7bbf:/opt/magic_mirror# git log -n 1
            commit 018cb9152689b1f1f262e6f3bfbf71cc99a9e59c (grafted, HEAD, tag: v2.12.0)
            Author: Michael Teeuw <michael@xonaymedia.nl>
            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.

            S 1 Reply Last reply Oct 1, 2020, 7:30 PM Reply Quote 0
            • S Offline
              sdetweil @jeffeb3
              last edited by Oct 1, 2020, 7:30 PM

              @jeffeb3 yep

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • J Offline
                jeffeb3
                last edited by Oct 1, 2020, 7:49 PM

                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.

                S 1 Reply Last reply Oct 1, 2020, 7:50 PM Reply Quote 0
                • S Offline
                  sdetweil @jeffeb3
                  last edited by Oct 1, 2020, 7:50 PM

                  @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…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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