Skip to content

Releases: briannesbitt/Carbon

2.41.4

22 Oct 07:39
6571aec
Compare
Choose a tag to compare

Complete commits list: 2.41.3...2.41.4

Summary:

  • Fixed #2226 Swap Lithuanian before and from_now translations
  • Improved performances using Zend optimization with native function invocation

2.41.3

12 Oct 21:23
e148788
Compare
Choose a tag to compare

Complete commits list: 2.41.2...2.41.3

Summary:

  • Fixed #2221 Carbon::parse('YYYYMMDDHHMMSS')

2.41.2

11 Oct 09:32
35959c9
Compare
Choose a tag to compare

Complete commits list: 2.41.1...2.41.2

Summary:

  • Allow null dates in hasFormat()

2.41.1

10 Oct 11:10
91d8d8d
Compare
Choose a tag to compare

Complete commits list: 2.41.0...2.41.1

Summary:

  • #2214 Fixed YYYYMMDD support for parse()

2.41.0

05 Oct 19:25
8690b13
Compare
Choose a tag to compare

Complete commits list: 2.40.1...2.41.0

Summary:

  • #2194 Added getters to access CarbonPeriod like a DatePeriod object
  • #2191 Added withTestNow() method
  • #2195 Fixed Norwegian Nynorsk translations
  • #2201 Fixed exception occurring with PHP < 7.4 and xDebug when inspecting Carbon instance before creation
  • #2199 Added microsecond-precision timestamps support while creating new instances
  • #2198 Added hasFormatWithModifiers() method
  • #2213 Improved Malay translations

2.40.1

23 Sep 08:38
d9a76d8
Compare
Choose a tag to compare

Complete commits list: 2.40.0...2.40.1

Summary:
Allow Carbon::createFromFormat('c') with string matching the c format
Fix for laravel/framework#34474
Work-around for https://bugs.php.net/bug.php?id=80141

2.40.0

16 Sep 09:38
6c76461
Compare
Choose a tag to compare

Complete commits list: 2.39.2...2.40.0

Summary:

  • #2175 Added floatDiffInWeeks() method
  • #2177 Fixed auto-fill timezone argument in factory methods bug
  • #2186 Fixed Greenlandic translations
  • #2187 Fixed Luxembourgish translations

2.39.2

10 Sep 12:35
326efde
Compare
Choose a tag to compare

Complete commits list: 2.39.1...2.39.2

Summary:

  • #2185 Fix hasFormat() with RegExp characters

2.39.1

04 Sep 13:19
7af4678
Compare
Choose a tag to compare

Complete commits list: 2.39.0...2.39.1

Summary:

  • #2180 Fix hasFormat() with slashes in formats and add canBeCreatedFromFormat() method

2.39.0

24 Aug 13:00
0a41ea7
Compare
Choose a tag to compare

Complete commits list: 2.38.0...2.39.0

Summary:

  • #2146 Added shorthand for DateTimeInterface::RFC3339_EXTENDED
  • #2150 Fixed Asturian units
  • #2154 Added Hebrew abbreviations
  • #2164 Fixed Estonian date formats