Opening Hours Versions Save

Query and format a set of opening hours

3.0.0

6 months ago
  • Add Time::date() method
  • Add DateTimeRange class
  • Add ranges support via to or - separator
  • Deprecate fill() and setData()
  • Remove setFilters()
  • Drop PHP < 7.4

2.41.0

11 months ago

Cap holidays check to end date when calculating diff

2.13.0

1 year ago

Make comparison microsecond-precise

2.12.0

1 year ago

Apply timezone for all methods and both input/output

2.11.3

1 year ago

Copy non immutable dates to apply timezone

2.11.2

2 years ago

Add array-shape create() PHPDoc

2.11.1

2 years ago

Support PHP 8.1

2.11.0

2 years ago

Add dateTimeClass option to use other class for date objects

2.10.1

3 years ago

mergeOverlappingRanges now properly handle hours for each hour or encapsulating a list of hours.

2.10.0

3 years ago

mergeOverlappingRanges now handles "hours" key and clean "data" keys before merging ranges