add test for #522

This commit is contained in:
j 2012-06-11 10:55:10 +02:00
parent 6a7fce5bcf
commit 7dd06c6d3e

View file

@ -502,6 +502,8 @@ Ox.formatDuration <f> Formats a duration as a string
'01:00:00.00'
> Ox.formatDuration(3599.999, 3)
'00:59:59.999'
> Ox.formatDuration(1640673)
'18:23:44:31'
> Ox.formatDuration(3599.999, 'short')
'1h'
> Ox.formatDuration(3599.999, 3, 'short')