Releases: spatie/opening-hours
Releases · spatie/opening-hours
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
1.0.3
isClosedOn
fix
1.0.2
fixed missing import in Time
class
1.0.1
- Replaced
DateTime
byDateTimeInterface
1.0.0
- First release