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

TZ not getting time #82

Open
zane-shus opened this issue Dec 25, 2020 · 1 comment
Open

TZ not getting time #82

zane-shus opened this issue Dec 25, 2020 · 1 comment

Comments

@zane-shus
Copy link

I have set docker Envt to Australia/Sydney

a date command gives this:
root@qbittorrentvpn1:/# date
Fri Dec 25 08:33:11 Australia 2020

So it is picking up Australia.

but on my host, a date command gives this:
zane@server:/$ date
Fri Dec 25 19:35:11 AEDT 2020

Its the right date, but time looks to be UTC time.

Any way to fix this? I would like to use the schedule within qBittorrent to schedule slower periods.

@just-simon
Copy link

I have the same problem.
With TZ set to Australia/Melbourne, I get: Sun Dec 27 04:43:27 Australia 2020
If I remove the TZ variable, I get date: Sun Dec 27 04:40:54 UTC 2020

I've tried a couple of things:

  • mounting /etc/localtime and /etc/timezone to the container
  • and setting container time to host time

But neither work.

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

2 participants