jl94x4 / ColleXions

ColleXions automates the process of pinning collections to your Plex home screen, making it easier to showcase your favorite content. With customizable features, it enhances your Plex experience by dynamically adjusting what is displayed, randomly.
MIT License
31 stars 1 forks source link

Docker: allow setting time zone #13

Closed d3mystified closed 1 month ago

d3mystified commented 1 month ago

TZ env var should be respected so date based collections can be accurately accounted for.

linuxserver images do this, so that can be a good starting point for implementing

jl94x4 commented 1 month ago

It should already use the local time of the device that it's ran from? It checks the current date during the filtering of collections. Is that not the case for you?

d3mystified commented 1 month ago

No, not in docker. It's I think 8 or 9 hours ahead from host time for me.

jl94x4 commented 1 month ago

Just pushed an update to the latest branch with timezone variables

Example -e TZ="Europe/London"