3.8.0
Complete commits list: 3.7.0...3.8.0
Summary:
- Accept Unit enum in
startOf
andendOf
by @kylekatarnls in #3052 - Add test for German period translation by @kylekatarnls in #3054
- Add tests for
CarbonInterval
andCarbonPeriod
by @kylekatarnls in #3055 - Add generic methods
isStartOfUnit
andisEndOfUnit
by @kylekatarnls in #3053 - Implement
isStartOf*
andisEndOf*
for all units by @kylekatarnls in #3056 - Update Spanish translations by @DannyJJK in #3060
- Optimize
getIntervalDayDiff
by @kylekatarnls in #3061 - Optimize
diffInDays
by @kylekatarnls in #3062 - Use arrow functions to
getIsoUnits
by @kylekatarnls in #3064 - Simplify PHPStan extension by @ondrejmirtes in #3065