Update README.md

This commit is contained in:
Nicco 2019-12-10 12:21:50 +01:00 committed by GitHub
parent 0c29e5123e
commit 49f3865e26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,6 +44,7 @@ d.humanize() // 'a few minutes'
const a = new Duration(1, 'day')
const b = new Duration(2, 'days')
const c = new Duration(0.5, 'year')
const d = new Duration (Date.now(), 'ms')
```
#### `.add(amount, interval)`