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

24 Hour Clock #16

Open
kridan83 opened this issue Apr 27, 2019 · 2 comments
Open

24 Hour Clock #16

kridan83 opened this issue Apr 27, 2019 · 2 comments

Comments

@kridan83
Copy link

I am not able to change to 24 houc clock after I installed the container on my Unraid server. I had a Ubuntu Server and there I change the go file and autoupdate_hs file from export LANG=en_US.UTF-8 to export LANG=en_GB.UTF-8. But that is not working. Is it possible to make one dockerfile so Homeseer gets a 24 hour clock?

@scyto
Copy link

scyto commented Apr 6, 2020

@kridan83 did you solve this? I am not sure what could be changed about the docker container to fix this? I am not sure if the -v /etc/localtime:/etc/localtime:ro has some effect on it - i..e. you would need to set the locale on the host too?

@tettesen
Copy link

I solved this by setting the environment variable LANG=en_GB.UTF-8 when deploying the container from Portainer. It seems to have worked for the clock in the web interface and the logfiles. I haven't had time to check if there are other instances of 12/24H timestamps somewhere in the HS3 system as I literally just got it up and running.

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