Timezone? Garmin shows activity in the future... #257
-
Just got things running in Docker on a Synology NAS. First rate stuff, very thankful to the dev and contributors. Any way to adjust the timezone so things line up? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
You can provide Timezone information to the Docker container via the |
Beta Was this translation helpful? Give feedback.
-
Hello. I changed the default Chigago timezone to Los_Angeles and restarted
the container. New P2G activities are still coming in as GMT-1 Azores time,
Activities coming in from my watch have the correct time in
connect.garmin.com. Is there something else I could be missing? Thank you!
…On Tue, May 17, 2022 at 5:14 AM philosowaffle ***@***.***> wrote:
You can provide Timezone information to the Docker container via the TZ
environment variable. Checkout the example docker-compose file in the docs
<https://philosowaffle.github.io/peloton-to-garmin/install/docker.html#docker-compose>
.
—
Reply to this email directly, view it on GitHub
<#257 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIPOTLRALWIFI5XVHOIOY2DVKOEUBANCNFSM5WDNOAYA>
.
You are receiving this because you authored the thread.Message ID:
<philosowaffle/peloton-to-garmin/repo-discussions/257/comments/2767196@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
If you're using 'docker run', add this after all of your -v options.. "-e TZ=America/Chicago" for east coast: America/New_York |
Beta Was this translation helpful? Give feedback.
-
Thanks for all of the replies. As it turns out... this was happening because I had fat-fingers and mounted my *.yaml file into the container as *.yml - so the TZ variable wasn't being picked up at all. Fixed that, and all is good. |
Beta Was this translation helpful? Give feedback.
You can provide Timezone information to the Docker container via the
TZ
environment variable. Checkout the example docker-compose file in the docs.