mirror of
https://github.com/cupcakearmy/uhrwerk.git
synced 2024-12-21 23:16:24 +00:00
Update README.md
This commit is contained in:
parent
92ab913f7e
commit
0c29e5123e
10
README.md
10
README.md
@ -29,8 +29,14 @@ d.humanize() // 'a few minutes'
|
|||||||
#### `new Duration(amount, interval)`
|
#### `new Duration(amount, interval)`
|
||||||
|
|
||||||
- amount: number
|
- amount: number
|
||||||
- interval: 'millisecond', 'second', 'minute', 'hour', 'day', 'week', 'year'
|
- interval:
|
||||||
Intervals can also be plural: e.g. 'days' is an alias for 'day'
|
- millisecond, milliseconds, ms
|
||||||
|
- second, seconds, s
|
||||||
|
- minute, minutes, m
|
||||||
|
- hour, hours, h
|
||||||
|
- day, days, d
|
||||||
|
- week, weeks, w
|
||||||
|
- year, years, y
|
||||||
|
|
||||||
###### Examples
|
###### Examples
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user