Carbon v2.20.0 Release Notes
Release Date: 2019-06-25 // almost 5 years ago-
Complete commits list: 2.19.1...2.20.0
Summary:
- #1745 CarbonPeriod::overlaps() method and method to create CarbonPeriod from Carbon/CarbonImmutable instances
- #1746 More generic methods is, next, previous getting strings such as "sunday", "1 July" and automatically isXyz(), nextXyz() and previousXyz() if it matches the given string.
- 👍 #1748 Support Laravel event dispatcher's contract thanks to @lorisleiva
- #1753 Implement CarbonInterval::shares (like times but to divide) and multiply/divide method that return precise and cascaded results.