Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time shown on scanner page seems to be UTC, no matter what timezone is set on host (docker installation) #427

Open
splintering opened this issue Mar 4, 2024 · 3 comments

Comments

@splintering
Copy link

I run lms in a docker container on an RPi4 on LibreElec (so a minimal Linux OS). The time shown for previous and scheduled scans on the scanner page is always UTC, although the timezone on my system is set to CET. I tried to pass the timezone when creating the docker container with -e TZ=Europe/Berlin but it does not help (seems that only works when the container contains the tzdata package).

Is there any other way to correct the shown time? Is this an issue from the docker container, or does it relate to my minimal Linux installation?

Thanks!

@epoupon
Copy link
Owner

epoupon commented Mar 4, 2024

Hello!
Yes the time is in UTC.
I guess what you want is the date time to be displayed using the time zone of your your web client?

@splintering
Copy link
Author

That we possibly even more elegant than using the system time :-)

@Tolriq
Copy link

Tolriq commented Mar 4, 2024

Seems he started his bug report mode :p Be ready for a long run @epoupon :p

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants