Releases: spatie/opening-hours
Releases · spatie/opening-hours
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
2.9.1: Support timezone in isOpenOn
- Use OpeningHours timezone for isOpenOn()
2.9.0: Allow isOpenOn() to take date string as parameter
Allow isOpenOn() to take date string as parameter