Skip to content

Releases: briannesbitt/Carbon

1.35.1

14 Nov 21:58
5c05a2b
Compare
Choose a tag to compare

Fixed compatibility with PHP 7.1.12 for diffIn(Seconds/Minutes/Hours) and diffAsCarbonInterval

1.35.0...1.35.1

1.35.0

14 Nov 12:45
3c0342e
Compare
Choose a tag to compare

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

13 Nov 14:43
d5603a1
Compare
Choose a tag to compare

Fixed PHP bug 77145 https://bugs.php.net/bug.php?id=77145 via diffForCarbonInterval

2.5.2...2.5.3

1.34.4

13 Nov 08:27
b9a444d
Compare
Choose a tag to compare

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...1.34.4

1.34.3

13 Nov 07:05
3b903d2
Compare
Choose a tag to compare

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

1.34.2...1.34.3

2.5.2

13 Nov 08:28
43c7426
Compare
Choose a tag to compare

Fixed PHP bug 77007, handle negative microseconds in diffIn(Seconds/Minutes/Hours) and diffAsCarbonInterval

2.5.1...2.5.2

1.34.2

12 Nov 23:04
6689b51
Compare
Choose a tag to compare

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

1.34.1...1.34.2

2.5.1

08 Nov 14:08
1e0feb9
Compare
Choose a tag to compare

Fixed hasFormat full-year detection to disallow less than 4 digits

2.5.0...2.5.1

1.34.1

08 Nov 13:45
19201b8
Compare
Choose a tag to compare

Fixed hasFormat full-year detection to disallow less than 4 digits

1.34.0...1.34.1

2.5.0

26 Oct 20:39
790f2bc
Compare
Choose a tag to compare

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