Carbon v2.37.0 Release Notes
Release Date: 2020-07-28 // over 3 years ago-
Complete commits list: 2.36.1...2.37.0
๐ฑ โ ๏ธ Since 2.37.0 CarbonInterval
->total()
method and->total*
properties take theinvert
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 useabs()
(for instanceabs($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