Skip to content

Releases: spatie/opening-hours

2.11.1: Fix compatibility with PHP 8.1

04 Dec 17:11
693149d
Compare
Choose a tag to compare

2.11.0: Add dateTimeClass option to use other class for date objects

16 Oct 15:39
6a86c24
Compare
Choose a tag to compare

Add dateTimeClass option to use other class for date objects

2.10.1: Fix "hours" merge in mergeOverlappingRanges

10 Dec 22:37
b1f6561
Compare
Choose a tag to compare

mergeOverlappingRanges now properly handle hours for each hour or encapsulating a list of hours.

2.10.0: Add "hours" key support in mergeOverlappingRanges

06 Nov 16:59
51ebd2e
Compare
Choose a tag to compare

mergeOverlappingRanges now handles "hours" key and clean "data" keys before merging ranges

2.9.1: Support timezone in isOpenOn

15 Oct 21:38
4339a9d
Compare
Choose a tag to compare
  • Use OpeningHours timezone for isOpenOn()

2.9.0: Allow isOpenOn() to take date string as parameter

03 Sep 20:34
a4833fd
Compare
Choose a tag to compare

2.8.0: Add diff methods

19 Jun 20:32
d4f158d
Compare
Choose a tag to compare

2.7.2: Fix merge with special options

18 Jun 22:30
dd8c0b1
Compare
Choose a tag to compare

Fix support of data/filters/overflow with OpeningHours::createAndMergeOverlappingRanges and OpeningHours::mergeOverlappingRanges

2.7.1: Add InvalidTimezone exception

30 May 13:42
Compare
Choose a tag to compare

Add InvalidTimezone exception

2.7.0: Add forWeekConsecutiveDays method

27 Aug 07:53
bac0ed7
Compare
Choose a tag to compare

Add forWeekConsecutiveDays method