Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My google calendar is off by 5 hours #106

Open
id-ic opened this issue Nov 22, 2020 · 5 comments
Open

My google calendar is off by 5 hours #106

id-ic opened this issue Nov 22, 2020 · 5 comments

Comments

@id-ic
Copy link

id-ic commented Nov 22, 2020

All my appointments are off by 5 hours. I'm assuming this is just a TZ issue somewhere but I don't see where to adjust this.

Also, my all day events show on 2 days, the day before (because 00:00) and the day of i'm assuming. How can I just have it show on the day it's set for?

@3k9CP3bu4MoP
Copy link

I was able to address this by changing the system timezone in the localization settings using raspi-config.

@id-ic
Copy link
Author

id-ic commented Nov 28, 2020

I'm using this inside docker and it seems like the docker image has the right timezone setting and time.

@id-ic
Copy link
Author

id-ic commented Nov 28, 2020

In case anyone looks at this incorrect post ... here was the fix (line -e …).

docker run  -d \
    --publish 8005:8080 \
    --restart always \
    --volume /opt/magic_mirror/config:/opt/magic_mirror/config \
    --volume /opt/magic_mirror/modules:/opt/magic_mirror/modules \
    --volume /etc/localtime:/etc/localtime:ro \
    --name magic_mirror \
    -e TZ=America/Edmonton -e SET_CONTAINER_TIMEZONE=true -e CONTAINER_TIMEZONE=America/Edmonton \
    bastilimbach/docker-magicmirror

@ganastor
Copy link

ganastor commented Dec 1, 2020

In case anyone looks at this incorrect post ... here was the fix.

Just wanted to say thanks for posting this - my add day calendar events were driving me nuts, this fixed it for me as well. I had thought that the localtime volume would be enough, but adding the environment variables is what worked for me.

@id-ic
Copy link
Author

id-ic commented Dec 11, 2020

I'm glad it helped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants