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

Math riddle as duration for short periods #128

Open
cpycom opened this issue Oct 7, 2020 · 0 comments
Open

Math riddle as duration for short periods #128

cpycom opened this issue Oct 7, 2020 · 0 comments

Comments

@cpycom
Copy link

cpycom commented Oct 7, 2020

Hi everyone,
if I enable "Use Custom Precision" (in this case set to minutes) I get a strange behaviour.
For most cases the displayed periods are totally correct.
But for very short periods (without custom period: "a few seconds") it shows strange math riddles, like "8 years, -95 month, -4 week, -23 hour, -59 minute".
I guess "1 minute" would be a much more helpful notation.

(I'm using Grafana 7.2 with grafana-discrete-panel 0.1.0.)

grafik

takkaO added a commit to takkaO/grafana-discrete-panel that referenced this issue May 19, 2022
- fix custom precision bug (NatelEnergy#128, NatelEnergy#139)
- change date library (moment -> dayjs)
- update some packages
- add dayjs library
- remove moment library
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant