jneilliii / OctoPrint-PrintScheduler

MIT License
10 stars 2 forks source link

TimeZones not taken into account for time calculation #46

Closed rvalle closed 10 months ago

rvalle commented 11 months ago

I am running octoprint in a server/docker whose TZ setting is UTC as a result the time displayed in the UI is not the time at which the print will be scheduled. In my case, there are 2H delay between UTC and Europe/Brussels which is the one for UI.

jneilliii commented 11 months ago

As mentioned on the read me, the timezone has to be set on the host, in your case the docker container, to match your client. I believe that's fine by adding a TZ environment variable to your config using a value from the list on this page https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.

github-actions[bot] commented 10 months ago

This issue has been automatically marked as stale because it has not had activity in 14 days. It will be closed if no further activity occurs in 7 days