2.0.0-beta.1
Pre-release
Pre-release
- Added support for immutable dates
- Allowed to add meta-data to global/exceptions config, days config, ranges settings via
setData()
andgetData()
- Allowed dynamic opening hours settings
- Added
TimeRange::fromArray()
andTimeRange::fromDefinition()
(to support array of hours+data or string[] or string) - Added
setFilters()
andgetFilters()
⚠ Breaking changes:
nextOpen()
andnextClose()
return type changed forDateTimeInterface
as it can now returnDateTimeImmutable
tootoDateTime()
changed both input type and return type forDateTimeInterface
as it can now take and returnDateTimeImmutable
too