All notable changes to opening-hours
will be documented in this file
- overspilling timerange will now contain start time
- Added
nextClose
- Added additional helpers on
Time
- Added the ability to pass a
DateTime
instance to mutate toTime::toDateTime
- Added
OpeningHours::forWeekCombined()
- Added the ability to add recurring exceptions
- Fixed bug where checking on times starting at midnight would cause an infinite loop
- Added
regularClosingDays
,regularClosingDaysISO
andexceptionalClosingDates
methods
- 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
andOpeningHoursForDay::empty
- Added timezone support
isClosedOn
fix
- Fixed missing import in
Time
class
- Replaced
DateTime
byDateTimeInterface
- First release