Set the timezone

Hi

We’re running Gitea using Docker on Rancher OS. Rancher OS is very lightweight Linux distro that is not packaged with timezone data, thus it is not on the host and the time is set a UTC. If I run a “date” command from within the container I get Fri May 3 08:55:54 UTC 2019 (which would be expected). However, I was wondering what the correct way to set the timezone for Gitea would be? Is there a setting in app.ini? Or can we just pass -e “TZ=Europe/London” to the docker run command?

Many thanks
Jonny

Currently we have no timezone setting.

How about now? (sounding like an optometrist)

There is a configuration on app.ini

[time]
DEFAULT_UI_LOCATION = Asia/London

will help the default UI location.