Skip to content

Releases: briannesbitt/Carbon

2.47.1

26 May 22:26
902fc35
Compare
Choose a tag to compare

Complete commits list: 2.47.0...2.47.1

Summary:

  • Fixed unwanted timezone mutation when calling floatDiffInRealDays(), floatDiffInRealWeeks(), floatDiffInRealMonths(), or floatDiffInRealYears()

2.48.0

12 May 07:55
d3c447f
Compare
Choose a tag to compare

Complete commits list: 2.47.0...2.48.0

Summary:

  • Fixed #2322 Allow numeric locales such as es_419 to use dash (e.g. es-419)
  • Fixed #2324 Optimize period end calculation and allow infinite recurrences
  • Fixed #2326 handle p format in canBeCreatedFromFormat()
  • Fixed #2328 Add Estonian unit abbreviations

2.47.0

13 Apr 21:55
606262f
Compare
Choose a tag to compare

Complete commits list: 2.46.0...2.47.0

Summary:

  • Fixed #2308 Compare dates in UTC to get real diff in days and above units
  • Fixed #2301 Ukrainian translation for "a few seconds"
  • Fixed #2313 Malaysian hour ranges
  • Fixed #2314 Optimize make() method

2.46.0

07 Mar 11:09
2fd2c4a
Compare
Choose a tag to compare

Complete commits list: 2.45.1...2.46.0

Summary:

  • Fixed #2288 Makes PHPDoc consistent
  • Fixed #2293 Properly fallback static macro if errors are not converted into exceptions

2.45.1

11 Feb 18:32
528783b
Compare
Choose a tag to compare

Complete commits list: 2.45.0...2.45.1

Summary:

  • Fixed #2285 ceilMonth() returns incorrect year when overflowing

2.45.0

09 Feb 08:54
e2ba317
Compare
Choose a tag to compare

Complete commits list: 2.44.0...2.45.0

Summary:

  • Fixed #2268 rounding with month overflow
  • Fixed #2270 croatian date format
  • Fixed #2217 use debugger-friendly property retrieving method
  • Fixed #2275 implement CarbonPeriod::get() method
  • Fixed #2091 latvian declensions
  • Fixed #2089 provide non-ambiguous add/sub methods for interval

2.44.0

28 Jan 17:54
e6ef33c
Compare
Choose a tag to compare

Complete commits list: 2.43.0...2.44.0

Summary:

  • Added #2263 Handle trailing zero in hasFormat() with "W" format
  • Fixed #2261 Setting a timezone such as +5:30 using utcOffset(330)
  • Fixed #2265 Russian parsing for today, tomorrow and yesterday

2.43.0

19 Dec 12:12
d32c57d
Compare
Choose a tag to compare

Complete commits list: 2.42.0...2.43.0

Summary:

  • Added #2250 context() method available from inside macros and mixins
  • Fixed #2255 floatDiffInDays() calculation
  • ⚠️ Changed #2243 callable constants of CarbonPeriod changed from "Class::method" syntax to ["Class", "method"]

2.42.0

28 Nov 14:28
d046377
Compare
Choose a tag to compare

Complete commits list: 2.41.5...2.42.0

Summary:

  • Fixed #2240 Occitan ordinal rule
  • Fixed #2238 Replace "antier" with "anteayer" in Spanish (except for Mexico)
  • Fixed #2232 Use 4-digits years for L format in nl_NL (Dutch in Netherlands)

2.41.5

23 Oct 08:21
c4a9caf
Compare
Choose a tag to compare

Complete commits list: 2.41.4...2.41.5

Summary:

  • Fixed #2229 infinite loop in ceiling intervals in forHumans()