sissbruecker / linkding

Self-hosted bookmark manager that is designed be to be minimal, fast, and easy to set up using Docker.
MIT License
5.32k stars 261 forks source link

Allow use of standard docker `TZ` env var #765

Open watsonbox opened 2 weeks ago

watsonbox commented 2 weeks ago

I noticed that the time zone wasn't set up right for me, and eventually came across this which got me up and running.

However, both that issue and this more recent one were opened by people trying to use the standard docker TZ var to set the app time zone. That seems like a reasonable thing to do.

If you agree, what do you think of this small fix?

[!NOTE] An alternate approach might be to use the system time zone instead of UTC as the default. That would give the benefit of working for both bare metal installs as well as docker containers configured with TZ.