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 should be shown in the timezone the browser is in, not the server. #49

Open
dcorbin opened this issue Apr 9, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@dcorbin
Copy link

dcorbin commented Apr 9, 2024

Describe the bug
All my servers run on UTC. Octoprint is no exception. The plugin seems to show the ETA in UTC, rather than the timezone the client (browser) is in. It should use the browser's local time.

To Reproduce
Steps to reproduce the behavior:

  1. Set your server timezone to UTC
  2. Print something
  3. Access Octoprint from a browser not in UTC.
  4. It shows the incorrect time. (correct for UTC).

Expected behavior
It should show the time in the local time of the browser.

Environment information:

  • Octoprint Version: 1.9.3
  • Browser: Firefox: 124.0.2
  • Python Version: 3.9.2
@dcorbin dcorbin added the bug Something isn't working label Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant