Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardBaumrock committed Jun 13, 2023
1 parent bcd3581 commit 2936a28
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ By default, the `range()` method uses predefined patterns to format the date ran
```php
// example using locale de_DE
echo $dates->range("2023-01-01", "2023-01-03", [
'default' => ['d. MMMM y', ' ', 'd. MMMM y'], // 1. Januar 2023 - 3. Februar 2024
'sameYear' => ['d. MMMM', ' ', 'd. MMMM y'], // 1. Januar - 3. Februar 2023
'sameMonth' => ['d.', ' ', 'd. MMMM y'], // 1. - 3. Januar 2023
'sameDay' => ['d. MMMM y'], // 1. Januar 2023
'default' => ['d. MMMM y', ' bis ', 'd. MMMM y'], // 1. Januar 2023 bis 3. Februar 2024
'sameYear' => ['d. MMMM', ' bis ', 'd. MMMM y'], // 1. Januar bis 3. Februar 2023
'sameMonth' => ['d.', ' bis ', 'd. MMMM y'], // 1. bis 3. Januar 2023
'sameDay' => ['d. MMMM y'], // 1. Januar 2023
]);
```

Expand Down

0 comments on commit 2936a28

Please sign in to comment.