Releases: smhg/date-timespan-php
Releases · smhg/date-timespan-php
5.0.0
- drop support for php versions below 8.1
4.0.0
- drop support for PHP <7.2
- fix Collection use based on a DatePeriod instance
3.0.1
- fix phpdoc return type of
Timespan::compare()
3.0.0
- 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
- add support for DateTimeImmutable
2.0.0
$timespan->contains(DateTime)
now returns true
for the timespan's start date (thx @Tivus)
1.0.0
- Release first version (API was stable)
- Run CI tests on Ubunu LTS PHP version
0.2.2
toString
(and toArray
) now return strings in ISO 8601 time interval format
0.2.0
- $span->trim() now returns a copy and leaves the original span untouched