github briannesbitt/Carbon 2.69.0

latest releases: 3.8.0, 3.7.0, 3.6.0...
13 months ago

Complete commits list: 2.68.1...2.69.0

Summary:

Breaking chances (for edge-case usages):
⚠️ getSetting() now longer return the locale when it's unchanged default, so you can distinguish between explicit 'en' which has Sunday as start of week vs. null which is English but with Monday as start of week. To get the previous behavior you can use:

$settings = array_merge(['locale' => 'en'], $date->getSettings());

Don't miss a new Carbon release

NewReleases is sending notifications on new releases.