MarkusMcNugen / docker-qBittorrentvpn

Docker container which runs a headless qBittorrent client with WebUI and optional OpenVPN
https://hub.docker.com/r/markusmcnugen/qbittorrentvpn/
GNU General Public License v3.0
175 stars 93 forks source link

TZ not getting time #82

Open zane-shus opened 3 years ago

zane-shus commented 3 years ago

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 commented 3 years ago

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:

But neither work.