-
Notifications
You must be signed in to change notification settings - Fork 198
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
TZ environment variable does not work #374
Comments
Hi again @lansaloni .
Ah, that is an issue. The old script-based version (everything pre v1.0.0) supported it. It was useful to some people, but caused big headaches. What does it mean to have the TZ provided? How does the schedule get calculated? How do we timestamp files? The purpose of TZ wasn't to change the date inside the container, but primarily to affect someone who used The timestamps on the files themselves, however, and logs, always were and would remain UTC. To summarize:
Does that answer? |
Just putting this here in case others come across it. If you need to do a cron task that goes past midnight (such as you are in GMT+10 and want the backups to be throughout the "working day"), then you can do something similar to this: |
Do you want to PR the docs, add the timezone description and include this? |
Hi!
In the
examples/docker-compose.yaml
file there is theTZ
environment variable but if I set it to a value other than UTC the container remains in UTC.I tried with:
TZ: CET
or
TZ: Europe/Rome
but the date inside the container is always UTC:
The text was updated successfully, but these errors were encountered: