You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
first of all thank you for the discrete panel, we are using it to monitor the state of a machine.
Is it possible to show a more accurate duration in the tooltip of the panel?
Your screenshot shows the problem:
The duration is mentioned as "a day", but the 30 minutes are ignored.
Or see this example:
Instead of "4 hours", "3 hours 30 minutes" would be better.
Do you think it is possible to add more accuracy to the duration information in the tooltip?
Maybe it is possible to configure the duration time units, e.g. "hour;minute;second" and all duration will be shown in this units, even if it is a higher unit (day) available. So for your screenshot example of "a day" it would be "24 hours 30 minutes".
BR
The text was updated successfully, but these errors were encountered:
I have the same problem :-) I use discrete-panel to show running times for a heating system and the user should calculate the gas usage by reading the time of a certain state.
The duration is given by momentjs::humanize. There is an upstream feature request open as well - moment/moment#348.
One of the last comments posts a snippet that looks useful here. But I also feel a bit lazy to put this into place now...
Hi,
first of all thank you for the discrete panel, we are using it to monitor the state of a machine.
Is it possible to show a more accurate duration in the tooltip of the panel?
Your screenshot shows the problem:
The duration is mentioned as "a day", but the 30 minutes are ignored.
Or see this example:
Instead of "4 hours", "3 hours 30 minutes" would be better.
Do you think it is possible to add more accuracy to the duration information in the tooltip?
Maybe it is possible to configure the duration time units, e.g. "hour;minute;second" and all duration will be shown in this units, even if it is a higher unit (day) available. So for your screenshot example of "a day" it would be "24 hours 30 minutes".
BR
The text was updated successfully, but these errors were encountered: