linkding icon indicating copy to clipboard operation
linkding copied to clipboard

Date and time incorrect

Open ados8 opened this issue 1 year ago • 1 comments

I've added the TZ variable to the Unraid docker template but it continues to show the time and therefore date far behind. At first I thought it was the snapshot system as it might have it's own timezone but even the bookmark adding is out. Is there a way to set the timezone?

ados8 avatar Jun 20 '24 07:06 ados8

I tried the same thing with no luck, but this solution worked by updating docker-compose.yaml:

volumes:
  - "${LD_HOST_DATA_DIR:-./data}:/etc/linkding/data"
  - "./custom.py:/etc/linkding/siteroot/settings/custom.py:ro"

I note that there is another proposal to solve this in the app itself: https://github.com/sissbruecker/linkding/issues/722.

After playing with it for a bit, I decided to submit a small fix to get the TZ var working https://github.com/sissbruecker/linkding/pull/765.

watsonbox avatar Jun 20 '24 20:06 watsonbox