Releases: spatie/opening-hours
Releases · spatie/opening-hours
1.8.1
- overspilling timerange will now contain start time
1.8.0
- Added
nextClose
1.7.0
- Added additional helpers on
Time
1.6.0
- Added the ability to pass a
DateTime
instance to mutate toTime::toDateTime
1.5.0
- Added
OpeningHours::forWeekCombined()
1.4.0
- Added the ability to add recurring exceptions
1.3.1
- Fixed bug where checking on times starting at midnight would cause an infinite loop
1.3.0
- Added
regularClosingDays
,regularClosingDaysISO
andexceptionalClosingDates
methods
1.2.0
- Added asStructuredData to retrieve the opening hours as a Schema.org structured data array
- Added nextOpen method to determine the next time the business will be open
- Added utility methods: OpeningHours::map, OpeningHours::flatMap, OpeningHours::mapExceptions, OpeningHours::flatMapExceptions,OpeningHoursForDay::map and OpeningHoursForDay::empty
1.1.0
- Added timezone support