Format a duration in seconds to a human-readable HH:MM:SS.mmm string.
Parameters
seconds: number
Returns string
Throws
If seconds is negative or not finite. The previous
implementation happily produced nonsense such as "-1:-1:-5.000" and
"NaN:NaN:000NaN" for these inputs.
Format a duration in seconds to a human-readable HH:MM:SS.mmm string.