Deprecate utility tag
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: formatDuration
|
||||
tags: date,math,string,utility,intermediate
|
||||
tags: date,math,string,intermediate
|
||||
---
|
||||
|
||||
Returns the human readable format of the given number of milliseconds.
|
||||
@ -30,4 +30,4 @@ const formatDuration = ms => {
|
||||
```js
|
||||
formatDuration(1001); // '1 second, 1 millisecond'
|
||||
formatDuration(34325055574); // '397 days, 6 hours, 44 minutes, 15 seconds, 574 milliseconds'
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user