Skip to content

Releases: spatie/opening-hours

2.12.0: Apply timezone for all methods and both input/output

24 Jul 15:17
3ef6eb8
Compare
Choose a tag to compare

Apply timezone for all methods and both input/output

2.11.3: Copy non immutable dates to apply timezone

23 Jul 16:02
bce146a
Compare
Choose a tag to compare

Copy non immutable dates to apply timezone

2.11.2: Add array-shape create() PHPDoc

09 Dec 10:17
e3ba90f
Compare
Choose a tag to compare

Add array-shape create() PHPDoc

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