Update README.md

This commit is contained in:
2019-12-10 12:21:50 +01:00
committed by GitHub
parent 0c29e5123e
commit 49f3865e26

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)`