Skip to content

Releases: smhg/date-timespan-php

5.0.0

30 Jun 07:39
Compare
Choose a tag to compare
  • drop support for php versions below 8.1

4.0.0

26 Jun 19:28
Compare
Choose a tag to compare
  • drop support for PHP <7.2
  • fix Collection use based on a DatePeriod instance

3.0.1

21 Jun 20:33
Compare
Choose a tag to compare
  • fix phpdoc return type of Timespan::compare()

3.0.0

15 May 07:23
Compare
Choose a tag to compare
  • breaking: drop support for php 5.6 (minimum php version requirement is now 7.0)
  • fix php >=7.4 support (due to changes in arrayobject access)

2.1.0

01 Mar 11:00
Compare
Choose a tag to compare
  • add support for DateTimeImmutable

2.0.0

20 Dec 09:24
Compare
Choose a tag to compare
  • $timespan->contains(DateTime) now returns true for the timespan's start date (thx @Tivus)

1.0.0

16 Nov 10:11
Compare
Choose a tag to compare
  • Release first version (API was stable)
  • Run CI tests on Ubunu LTS PHP version

0.2.2

03 Aug 11:53
Compare
Choose a tag to compare
  • toString (and toArray) now return strings in ISO 8601 time interval format

0.2.0

21 Oct 07:14
Compare
Choose a tag to compare
  • $span->trim() now returns a copy and leaves the original span untouched