Releases: briannesbitt/Carbon
1.35.1
Fixed compatibility with PHP 7.1.12 for diffIn(Seconds/Minutes/Hours) and diffAsCarbonInterval
1.35.0
Complete commits list: 1.34.4...1.35.0
Summary:
- Allowed to keep with Carbon::diffAsCarbonInterval setting new parameter $trimMicroseconds to false
- Allowed to keep with CarbonInterval::instance setting new parameter $trimMicroseconds to false
- Fixed PHP behavior divergences calculating differences below 1 second
2.5.3
Fixed PHP bug 77145 https://bugs.php.net/bug.php?id=77145 via diffForCarbonInterval
1.34.4
Fixed compatibility with PHP 7.1.0 to 7.1.7 linked to PHP bug 74852 fixed in 7.1.8: https://bugs.php.net/bug.php?id=74852
1.34.3
Fixed compatibility with PHP 7.0.0 to 7.0.21 linked to PHP bug 74852 fixed in 7.0.22: https://bugs.php.net/bug.php?id=74852
/!\ Compatibility warning: if you use/support PHP 7.1.0 to 7.1.7, use 1.34.4 instead
2.5.2
Fixed PHP bug 77007, handle negative microseconds in diffIn(Seconds/Minutes/Hours) and diffAsCarbonInterval
1.34.2
Fixed PHP bug 77007, handle negative microseconds in diffIn(Seconds/Minutes/Hours)
/!\ Compatibility warning: if you use/support PHP 7.0.0 to 7.0.21 and 7.1.0 to 7.1.7, use 1.34.4 instead
2.5.1
Fixed hasFormat full-year detection to disallow less than 4 digits
1.34.1
Fixed hasFormat full-year detection to disallow less than 4 digits
2.5.0
Complete commits list: 2.4.1...2.5.0
Summary:
- Fixed short time format for id lang
- Fixed total milliseconds/microseconds in intervals
- Fixed microseconds in intervals add, instance and create