-
Notifications
You must be signed in to change notification settings - Fork 53
Timezone correct, modules won't follow it #50
Description
I am running this docker on a Synology NAS. I got it up and running with no issue. I set the timezone variable and also linked /etc/localtime. When I check the date/time of the container it is correct and matches the host system. The clock module is also correct with the correct time (with or without the time zone config line for the module). However, other modules such as a sports scoreboard, an "on this day" calendar, and even the holidays calendar seem to be running on UTC, not my actual timezone (UTC -6). In otherwords, right now my clock, the container, and system shows it is 20:45 on 11/24, but the other modules have all switched to showing things as if it was 11/25. No errors in the docker logs or system logs. The docker logs also appear to be in UTC time as the generated logs are showing 11/25 already. Here is my docker cli command. What's causing modules to ignore the timezone?
docker run -d \
--name=magicmirror \
--restart no \
-v /volume1/docker/magicmirror/config:/opt/magic_mirror/config \
-v /volume1/docker/magicmirror/modules:/opt/magic_mirror/modules \
-v /etc/localtime:/etc/localtime:ro \
-e TZ=America/Chicago \
-p 8081:8080 \
bastilimbach/docker-magicmirror:v2.13.0