-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Can not set timezone in Docker version #1654
Comments
I could be wrong, but I think the correct syntax should be: environment:
- TZ=Europe/Ljubljana Or: environment:
TZ: 'Europe/Ljubljana' |
OK, I changed it to
...and it is still the same problem. Also, I have this:
... and those settings do work (for instance, custom DNS, webtheme, etc... Just timezone does not work. |
Do you see such line in your docker log?
|
Yes,
|
Please switch into your running container and check if |
Running from the host, what is the output of this command (replace
EDIT: |
But when I open a new domain and check the logs are exactly two hours back. |
Wow, just found out that Firefox shows logs with -2 hours (in UTC), but Chromium shows times correctly (in Europe/Ljubljana). Why?? |
Note sure... Try adding this to your compose file:
|
OK, it seems to be crappy Firefox setting: under |
Versions
Platform
Expected behavior
When I run
docker-compose up -d
, timezone is not set.Actual behavior / bug
It seems that timezone parameter is not passed to Pihole docker?
Steps to reproduce
In
docker-compose.yml
I have:When I log in to web interface, times are still in UTC and not in my timezone.
The text was updated successfully, but these errors were encountered: