docker-qBittorrentvpn icon indicating copy to clipboard operation
docker-qBittorrentvpn copied to clipboard

TZ not getting time

Open zane-shus opened this issue 4 years ago • 1 comments

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.

zane-shus avatar Dec 25 '20 08:12 zane-shus

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.

just-simon avatar Dec 27 '20 07:12 just-simon