wiserain / docker-flexget

Docker image for running Flexget
https://hub.docker.com/r/wiserain/flexget
68 stars 40 forks source link

Ask format of TZ #56

Closed wolf001100 closed 1 year ago

wolf001100 commented 2 years ago

Hello, I've deployed flexget, and add "-e TZ=Asia/Shanghai", and only logs's time is correct, time in "task page" still displayed as GMT

May I ask how to make it right?

Thanks.

crkinard commented 2 years ago

Not sure if it has anything to do with this that comes up in the logs.

/usr/lib/python3.9/site-packages/flexget/components/scheduler/scheduler.py:129: PytzUsageWarning: The zone attribute is specific to pytz's interface; please migrate to a new time zone provider. For more details on how to do so, see https://pytz-deprecation-shim.readthedocs.io/en/latest/migration.html
  if timezone.zone == 'local':