From 0c29e5123e60b3accf881969214fa86fe121a3ae Mon Sep 17 00:00:00 2001 From: Nicco Date: Tue, 10 Dec 2019 12:21:24 +0100 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5be77d3..83245bb 100644 --- a/README.md +++ b/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