Skip to content

Commit

Permalink
Fix typo in duration documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
meduzen authored Oct 13, 2023
1 parent 57a991b commit e2e966f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ Values exceeding a unit are converted to upper units:
duration({ h: 31, m: 63, s: 175 }) // 'P1DT8H5M55S'
```

If you don’t need this behaviour, pass `false` as second parameter (default valut: `true`).
If you don’t need this behaviour, pass `false` as second parameter (default value: `true`).
```js
duration({ m: 175 }) // 'PT2H55M'
duration({ m: 175 }, false) // 'PT175M'
Expand Down

0 comments on commit e2e966f

Please sign in to comment.