Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
alanclarke committed May 4, 2020
1 parent 052e046 commit 8e7a39d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Parse a human style date

200 LOC, 100% test coverage
100% test coverage


## Installation
Expand Down Expand Up @@ -60,5 +60,4 @@ parseDate('the year after next')
## Options

- assumeFuture: you can imagine two conversations, 'when did it happen'? vs 'when will it happen?'. Some context is required in order to correctly interpret a response like 'tuesday'. If assumeFuture is true, the library will assume 'next tuesday' is meant, if false, 'last tuesday'.
- now: you can pass a reference ts against which any relative dates are computed. This deafaults to Date.now()
# parse-human-date
- now: you can pass a reference ts against which any relative dates are computed. This defaults to Date.now()

0 comments on commit 8e7a39d

Please sign in to comment.