Complete commits list: 2.36.1...2.37.0
⚠️ Since 2.37.0 CarbonInterval ->total()
method and ->total*
properties take the invert
while it was previously omitted due to a bug. This means it could be a breaking change for situations expecting an absolute total and you will have to use abs()
(for instance abs($interval->totalSeconds)
) to get an absolute value again.
Summary:
- #2129 Improved Panjabi translations
- #2132 Improved Kurdish translations
- #2138 Implemented standalone months for Lithuanian language
- #2137 Allowed false in
setTestNow()
- #2136 Fixed rounding result with inverted interval (or
diffForHumans
with future dates) - #2126 Fixed
CarbonInterval::cascade()
calculation - #2126 Fixed
->total()
method and->total*
propertiesinvert
flag handling