VSA "Stage time" chart - show values < 1 day update the secondsToDays function to show
Problem
The VSA "Stage time" chart show 0 value for values 0 < 1 day
:
Implementation Guide
Values less than 1 day should be displayed as decimal values (e.g., 12 hours as 0.5 day). This can be done by using the dora/components/util.js#secondsToDays method that allows you to specify precision.
For example:
- For 12 hours the value will be 0.5
- For 9.6 hours the value will be 0.4.
Related to this comment.
Edited by Ezekiel Kigbo