Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
Jenkins 2.222.4
-
-
2.342
Description
Load statistics chart for timespan "Medium" shows wrong time period or respectively is no more updated.
Charts for "Short" and "Long" are ok.
Screenshots created Nov. 24th 2020, at 8:30. Graph for "medium timespan" shows period from 17:19 to 17:09, but I´m expecting 8:30 to 8:30.
Medium:
Long:
No, dataLength was at most 1440 originally, and 1440 distinct column keys were generated; one per minute.
Another possible fix might be to create custom objects as column keys. These would implement Comparable by comparing the underlying Date values, and override toString(). That way, the correctness would not depend on the date format.
Or use the Date values as column keys and override AbstractCategoryItemLabelGenerator.generateColumnLabel, but that might require larger changes in Jenkins.