1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-03 20:22:46 +01:00
phorge-phorge/webroot/rsrc/js/application/fact
Andre Klapper 67b7181f52 Facts: Always render YYYY-MM-DD dates with eight digits in chart tooltips
Summary:
Always render dates in tooltips when hovering over data points in Burndown charts etc of the Facts application as `YYYY-MM-DD` instead of `YYYY-M-D` by converting the integer to a string and if its length is only one character, prepend a zero.

Closes T15819

Test Plan:
* Enable the Facts application, go to the Reports of a Project with task changes over time, hover over data points and read the tooltip.
* Check Console of web browser's developer tools for no errors.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T15819

Differential Revision: https://we.phorge.it/D25630
2024-05-12 10:19:25 +02:00
..
Chart.js Facts: Always render YYYY-MM-DD dates with eight digits in chart tooltips 2024-05-12 10:19:25 +02:00
ChartCurtainView.js Provide chart function labels over the wire instead of making them up 2019-05-22 05:22:59 -07:00
ChartFunctionLabel.js Provide chart function labels over the wire instead of making them up 2019-05-22 05:22:59 -07:00