Skip to content

Commit

Permalink
Fixed README
Browse files Browse the repository at this point in the history
  • Loading branch information
rocel committed Apr 9, 2018
1 parent 6666bf2 commit 89f1921
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const schedule = new SchedulerBuilder()
.at('14')
.build()
console.log(schedule); // ['R8/2018-04-16T14:00:00.000Z/P0Y0M22DT0H0M']
console.log(schedule); // ['R8/2018-04-16T14:00:00.000Z/P0Y0M56DT0H0M']
```

You can also schedule multiple days :
Expand All @@ -27,9 +27,9 @@ const schedule = new SchedulerBuilder()
.every(DAY.MONDAY)
.and
.every(DAY.THURSDAY)
.at('14')
.at('14:30')
.build()
console.log(schedule); // [ 'R8/2018-04-16T14:00:00.000Z/P0Y0M22DT0H0M','R9/2018-04-12T14:00:00.000Z/P0Y0M22DT0H0M' ]
console.log(schedule); // [ 'R8/2018-04-16T14:00:00.000Z/P0Y0M56DT0H0M','R9/2018-04-10T14:00:00.000Z/P0Y0M63DT0H0M' ]
```

See the [DAY](https://github.com/rocel/SchedulerBuilder/blob/master/src/index.js#L3) enum for more information.

0 comments on commit 89f1921

Please sign in to comment.