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

Add the ability to render charts using the server time (not just the timezone) instead of the client time. #855

Open
Boji6 opened this issue Jan 21, 2025 · 0 comments
Labels
feature-request New feature or request

Comments

@Boji6
Copy link

Boji6 commented Jan 21, 2025

Checklist

  • [X ] I am running the latest version of the card
  • [X ] I checked if there isn't another feature request opened with the same request
  • [X ] I checked that the feature is not already available in the dev branch

Is your feature request related to a problem? Please describe.
Charts are rendered using the time from the client with no option to explicitly use the time from the server. Not just shifting the time to the server timezone, but using the actual server time.

Describe the solution you'd like
The ability to select whether the chart is rendered using the current time from the client or the current time from the server.

Describe alternatives you've considered
Within the card, I've tried using the span start and offset options. These work as long as the time difference between the server and client is static. Unfortunately it is not static.

Additional context
My use case is a dashboard on an Amazon Fire tablet that is blocked from the Internet. Amazon removed the ability to manually set the time and the tablet does not use standard NTP. Every time the tablet restarts, it goes back to the last date and time that it was connected to an Amazon server. This results in the charts resetting to that time.

The root cause is not related to the card, but if the card had the option to use the server time - even passed as a parameter - this would solve the problem.

@Boji6 Boji6 added the feature-request New feature or request label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant