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

update plot displayed datetime to LOCAL rather than UTC times #18

Open
Keegan-Evans opened this issue Nov 28, 2023 · 0 comments
Open

update plot displayed datetime to LOCAL rather than UTC times #18

Keegan-Evans opened this issue Nov 28, 2023 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@Keegan-Evans
Copy link
Contributor

Keegan-Evans commented Nov 28, 2023

Currently the plots on the dashboard display datetimes in UTC. This is clearly not the most desirable, but arises from the fact that Dash and Plotly upon which the dashboard is built upon squash any datetimes into UTC, at least(seemingly) in the versions compatible with the currently available pandas libraries(at time of issue creation, latest available for Raspberry Pi is 1.5.3; not sure if pandas is the real blocker, it also kind of seems like it is just a dash/plotly implementation issue). This appears to be a consistently requested feature for dash/plotly, and there seems to be some work towards implementing it, though as of now there is not a clear cut solution available that will work on the current sensor-hub platform.

When a newer version of pandas is available(or someone spends the time getting it to build reliably for Raspberry Pi, I have spent quite a bit of time trying to make this work) this might change, so keeping up-to-date on both pandas and dash/plotly releases to determine when it might be possible to implement. Currently there do seem to be some "hacky" solutions available, but they are not straightforward to implement or very robust seeming.

most promising discussion/progress
historic/seemingly current dev position as stated on old, but currently open issue
additional discussion #1

@Keegan-Evans Keegan-Evans added enhancement New feature or request bug Something isn't working labels Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant