packagist nesbot/carbon 2.69.0

latest releases: dev-master, 3.8.2, 3.x-dev...
15 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.