github briannesbitt/Carbon 2.38.0

latest releases: 3.4.0, 3.3.1, 3.3.0...
3 years ago

Complete commits list: 2.37.0...2.38.0

⚠️ Since 2.38.0 CarbonInterval ->copy() method preserve the ->invert flag of the interval.

Summary:

  • #2144 Fixed total() result and total* properties when the interval contains negative values
  • #2144 Fixed cascade() result and when the interval contains negative values
  • #2144 Added daysExcludedWeeks setter
  • #2144 Added support for negative values in unit constructors such as CarbonInterval::years(), CarbonInterval::months() etc.
  • #2144 Allowed getFactor() to get multiple-steps factors

Don't miss a new Carbon release

NewReleases is sending notifications on new releases.