Deprecate utility tag

This commit is contained in:
Angelos Chalaris
2020-04-16 23:07:33 +03:00
parent 5e42f0aaa4
commit e31aea403d
60 changed files with 118 additions and 117 deletions

View File

@ -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'
```
```