Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Incorrect time display in charts past midnight (24:01:30... till 01:00) #294

Closed
ilyam8 opened this issue Aug 27, 2021 · 4 comments
Closed

Comments

@ilyam8
Copy link
Member

ilyam8 commented Aug 27, 2021

@aldem commented on Mon Jul 13 2020

Bug report summary

In dashboard chart display, the time since midnight and till 01:00 is reported as 24:01:30 and so on instead of 00:01:30:
image

I see it in most recent nightly (v1.23.1-77-g013c9da6) but not in v1.23.1 stable and it affects all displayed charts, not only one.

OS / Environment
Linux pve 5.4.44-2-pve #1 SMP PVE 5.4.44-2
Debian GNU/Linux 10 (buster) (Proxmox)
Netdata version

v1.23.1-77-g013c9da6

Component Name

web (probably)

Steps To Reproduce

Not sure if this is relevant but after I have installed nightly version I have deleted all dbengine data so it was a clean start.

My configuration has nothing special:

[global]
        history = 90000
        memory mode = dbengine
        page cache size = 512
        dbengine disk space = 2048
        access log = none

[plugins]
        ebpf = no
        ebpf_process = no
Expected behavior

Display time since midnight properly, not as 24:..


@cakrit commented on Mon Oct 26 2020

I upped the prio to medium, this shouldn't be hard to fix.


@jacekkolasa commented on Tue Oct 27 2020

This is related to local browser settings, timezone and language.
@aldem Do you still experience this issue? If yes, can you please share which timezone settings to your have in the Dashboard? It's under settings/locale/"Show browser local time or server time?" section

Can you also tell which browser are you using and check your detected language, by running navigator.language in browser console?


@aldem commented on Tue Oct 27 2020

@jacekkolasa Yes, I still do (at least in 1.26 stable, didn't try nighties yet).

Indeed, the problem is probably browser related - I have no issue with Firefox but it is present in Chrome and Edge (all most recent). Language is detected as "en" (Edge) and "en-US" (Chrome). Timezone is set to server which is in turn set to CET (though this is also client's side time zone).


@jacekkolasa commented on Tue Nov 17 2020

i need to prioritise it lower since i cannot recreate it and perhaps that issue doesn't cause that many problems..

@netdata-community-bot
Copy link

This issue has been mentioned on the Netdata Community. There might be relevant details there:

https://community.netdata.cloud/t/12am-renders-as-24-00-on-time-picker/1712/4

@cakrit
Copy link

cakrit commented Sep 16, 2021

@apostolidhs told me that this issue goes away with Charts 2.0, which is about to be released on the cloud. It will take some more time to bring it to the agent.

@allelos
Copy link
Contributor

allelos commented Sep 16, 2021

Fix for Charts 1.0 on the agent included in v2.20.0

@ilyam8
Copy link
Member Author

ilyam8 commented Sep 17, 2021

Fixed in netdata/netdata#11521

@ilyam8 ilyam8 closed this as completed Sep 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants