bastienwirtz / homer

A very simple static homepage for your server.
https://homer-demo.netlify.app/
Apache License 2.0
9.36k stars 788 forks source link

docker image does not recognise timezone appropriately #767

Open instantdreams opened 7 months ago

instantdreams commented 7 months ago

Describe the bug I am passing a timezone environment variable and mounting timezone and localtime as volumes in the docker container, but all times reported by the container are in UTC.

Expected behavior I run the following commands on the container:

$ docker exec homer date
Mon Apr 15 17:30:27 UTC 2024

$ docker exec homer cat /etc/timezone
America/Edmonton

The container can see the timezone but is not recognising it.

Logs & errors Perhaps the container image could include tzdata to allow this to work.

Screenshots n/a

Configuration n/a

baumheld commented 3 months ago

Would love that too, please add tzdata package