guysoft / MagicMirrorOS

MagicMirrorOS out-of-the-box distro
GNU General Public License v3.0
230 stars 26 forks source link

Timezone and Date #25

Closed TCPMeta closed 3 years ago

TCPMeta commented 3 years ago

How to I set the correct Time and Date. I tried dropping into a shell and issues the date -s command and no dice. The Date and Time is correct on the Host but the Container is off by a few hours.

TCPMeta commented 3 years ago

Never mind, I figured it out. In the ~/magicmirror/run directory I edited the docker-compose.yml file and added TZ: America/New_York in the environment: section then rebooted the Pi.