Skip to content

Graphs with minutes use 12 hour format #216

Open
@MarcelWaldvogel

Description

@MarcelWaldvogel

Expected behavior

All times on the graphs are given in 24 hour format, based on UTC.

Actual behavior

When minutes are displayed, the hours are shown in 12 hour format (without AM/PM). Everything else is correct.

How to reproduce

  1. Log in to the test system
  2. Add a new host to the pool between 13:00 and 22:00 UTC ("monitoring only" status is also OK)
  3. Wait 1-2 hours
  4. Look at the graph in the "account" view (see screenshot below). The graph shows hours-only marks (HH format) correctly (24 hour format), but the HH:MM formatted times between that use 12-hour format, resulting in e.g. the sequence "8:45", "21", "9:15", ….

I have not verified whether this also occurs in the production system and/or the individual host view. (The screenshot is from the "account" view in the test system.)

BTW: It would be a bonus for the sequence afterwards to not read "20:45", "21", "21:15", but "20:45", "21", "21:15" instead (notice the "21:00"), for consistency.

grafik

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions