mirror of
https://github.com/cupcakearmy/uhrwerk.git
synced 2024-12-21 15:06:25 +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)`
|
||||
|
||||
- amount: number
|
||||
- interval: 'millisecond', 'second', 'minute', 'hour', 'day', 'week', 'year'
|
||||
Intervals can also be plural: e.g. 'days' is an alias for 'day'
|
||||
- interval:
|
||||
- millisecond, milliseconds, ms
|
||||
- second, seconds, s
|
||||
- minute, minutes, m
|
||||
- hour, hours, h
|
||||
- day, days, d
|
||||
- week, weeks, w
|
||||
- year, years, y
|
||||
|
||||
###### Examples
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user