Refactor time formatting functions
Introduce helper function toPretty()
to avoid repeating time formats
in lengthPretty()
& elapsedPretty()
.
Edited by Zhangzhi Hu
Introduce helper function toPretty()
to avoid repeating time formats
in lengthPretty()
& elapsedPretty()
.