MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. asward2
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    A
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Groups 0

    asward2

    @asward2

    2
    Reputation
    1
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online
    Age 25

    asward2 Unfollow Follow

    Best posts made by asward2

    • RE: Default Calendar lists events one day early

      @sdetweil Thanks for the quick reply!

      I had previously verified that all ‘levels’ of the mm are using the correct date and time, and display their timezone properly. The pi, the container, and the display pi were all set to PDT and the time/date was correct. I verified this with the ‘date’ command at a bash terminal.

      The container was syncing to the rpi hosts time by mapping the localtime as a volume.

      version: '3'
      services:
        magicmirror:
          container_name: magicmirror
          image: mm2022:latest
          restart: always
          volumes:
            - /etc/localtime:/etc/localtime:ro
            - ./magic_mirror/config:/opt/magic_mirror/config
            - ./magic_mirror/modules:/opt/magic_mirror/modules
          ports:
            - 8888:8080
      

      From your comment I decided to set the TZ environment variable in my container as well.

      services:
        magicmirror:
          container_name: magicmirror
          image: mm2022:latest
          environment:
              TZ: America/Los_Angeles
          restart: always
          volumes:
            - /etc/localtime:/etc/localtime:ro
            - ./magic_mirror/config:/opt/magic_mirror/config
            - ./magic_mirror/modules:/opt/magic_mirror/modules
          ports:
            - 8888:8080
      

      This fixed my issue, and all day events now appear on the correct date.

      Thanks again!

      posted in Troubleshooting
      A
      asward2

    Latest posts made by asward2

    • RE: Default Calendar lists events one day early

      @sdetweil Thanks for the quick reply!

      I had previously verified that all ‘levels’ of the mm are using the correct date and time, and display their timezone properly. The pi, the container, and the display pi were all set to PDT and the time/date was correct. I verified this with the ‘date’ command at a bash terminal.

      The container was syncing to the rpi hosts time by mapping the localtime as a volume.

      version: '3'
      services:
        magicmirror:
          container_name: magicmirror
          image: mm2022:latest
          restart: always
          volumes:
            - /etc/localtime:/etc/localtime:ro
            - ./magic_mirror/config:/opt/magic_mirror/config
            - ./magic_mirror/modules:/opt/magic_mirror/modules
          ports:
            - 8888:8080
      

      From your comment I decided to set the TZ environment variable in my container as well.

      services:
        magicmirror:
          container_name: magicmirror
          image: mm2022:latest
          environment:
              TZ: America/Los_Angeles
          restart: always
          volumes:
            - /etc/localtime:/etc/localtime:ro
            - ./magic_mirror/config:/opt/magic_mirror/config
            - ./magic_mirror/modules:/opt/magic_mirror/modules
          ports:
            - 8888:8080
      

      This fixed my issue, and all day events now appear on the correct date.

      Thanks again!

      posted in Troubleshooting
      A
      asward2
    • Default Calendar lists events one day early

      I have a public google calendar using the iCal url. This has been working for probably 3 years at this point, no issues. I’ve recently noticed (wife says it’s been a long time, but she didn’t say anything :man_shrugging: ) that ‘all day’ calendar events shown on MM are shown as starting one day early - for example a birthday that is on the 23rd is shown on MM as the 22nd. However, an event with a fixed duration is listed on the correct date.

      I’m in the pacific time zone. The Pi is configured correctly. MM is running in a container, which shares the time config.

      This seems to have occurred with at least one other user. I would have responded to his thread but it’s coming up on it’s second birthday with no responses :-)

      https://forum.magicmirror.builders/topic/13230/calendar-2hours-for-all-day-event?_=1648003429696

      posted in Troubleshooting
      A
      asward2