Skip to content

Releases: spatie/opening-hours

1.3.1

13 Sep 19:54
Compare
Choose a tag to compare
  • Fixed bug where checking on times starting at midnight would cause an infinite loop

1.3.0

01 Jun 13:05
Compare
Choose a tag to compare
  • Added regularClosingDays, regularClosingDaysISO and exceptionalClosingDates methods

1.2.0

03 Jan 10:47
Compare
Choose a tag to compare
  • 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

09 Nov 10:10
Compare
Choose a tag to compare
  • Added timezone support

1.0.3

18 Oct 08:01
Compare
Choose a tag to compare
  • isClosedOn fix

1.0.2

13 Oct 08:26
Compare
Choose a tag to compare

fixed missing import in Time class

1.0.1

13 Oct 08:20
Compare
Choose a tag to compare
  • Replaced DateTime by DateTimeInterface

1.0.0

07 Oct 14:33
Compare
Choose a tag to compare
  • First release