openkfw / smartenergy.goecharger

Home assistant integration for go echarger v2
GNU General Public License v3.0
3 stars 1 forks source link

Draft:Fixed container timezone drift #17

Closed SamuelPull closed 1 year ago

SamuelPull commented 1 year ago

name: Fixed container timezone drift about: Containers might have timezone different from the machine on which they are run, causing issues when authorizing hacs with github. Podman has an option to set timezone of the container on startup. author: ''


Description

Updated podman startup scripts with --tz=local optional.

How to test

Start the application, attach shell to the container, check date and time with date command.

Checklist

SamuelPull commented 1 year ago

@mmacai I have to close this MR in shame, because the "fix" is not working.Timezone is set alright, but when mac goes to sleep, clock in container goes out of sync anyway.