Releases: spatie/opening-hours
Releases · spatie/opening-hours
3.0.0
2.41.0: Cap holidays check to end date when calculating diff
Cap holidays check to end date when calculating diff
2.13.0: Make comparison microsecond-precise
Make comparison microsecond-precise
2.12.0: Apply timezone for all methods and both input/output
Apply timezone for all methods and both input/output
2.11.3: Copy non immutable dates to apply timezone
Copy non immutable dates to apply timezone
2.11.2: Add array-shape create() PHPDoc
Add array-shape create() PHPDoc
2.11.1: Fix compatibility with PHP 8.1
Support PHP 8.1
2.11.0: Add dateTimeClass option to use other class for date objects
Add dateTimeClass option to use other class for date objects
2.10.1: Fix "hours" merge in mergeOverlappingRanges
mergeOverlappingRanges now properly handle hours for each hour or encapsulating a list of hours.
2.10.0: Add "hours" key support in mergeOverlappingRanges
mergeOverlappingRanges now handles "hours" key and clean "data" keys before merging ranges