Skip to content

Commit

Permalink
Readme & changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiandedeyne committed Sep 15, 2017
1 parent e674c51 commit 55b04f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

All Notable changes to `opening-hours` will be documented in this file

## 1.4.0 - 2017-09-15
- Added the ability to add recurring exceptions

## 1.3.1 - 2017-09-13
- Fixed bug where checking on times starting at midnight would cause an infinite loop

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ $openingHours = OpeningHours::create([
'exceptions' => [
'2016-11-11' => ['09:00-12:00'],
'2016-12-25' => [],
'01-01' => [], // recurring on each 1st of january
'12-25' => ['09:00-12:00'], // recurring on each 25nd of december
'01-01' => [], // Recurring on each 1st of january
'12-25' => ['09:00-12:00'], // Recurring on each 25nd of december
],
]);
```
Expand Down

0 comments on commit 55b04f2

Please sign in to comment.