Sort out format and startTime
Closed this issue · 1 comments
pfarmer commented
If format and startTime are different the numbers can get confused and show 99 seconds or 29 hours for example.
If no format is passed, try and intelligently guess the correct format from startTime like this:
ss
h:s
hh:ss
m:h:s
mm:hh:ss
d:mm:hh:ss
dd:mm:hh:ss
ddd:mm:hh:ss
If format is passed but doesn't match the format of startTime try to intelligently fixup format.
pfarmer commented
Has been fixed.