add test for #522
This commit is contained in:
parent
6a7fce5bcf
commit
7dd06c6d3e
1 changed files with 2 additions and 0 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue