Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.x] Switch from Chronos to Carbon #826

Merged
merged 1 commit into from
Apr 13, 2020
Merged

Conversation

browner12
Copy link
Contributor

The original motivation to use Chronos over Carbon was for its immutability. Now that Carbon v2 offers immutability, we should switch back to Carbon to keep package dependencies consistent across the Laravel Ecosystem.

CarbonImmutable is a drop in replacement for Chronos, as all method names are the same, and all the tests pass.

@mfn mfn mentioned this pull request Apr 13, 2020
@taylorotwell taylorotwell merged commit 8dfcb2a into laravel:master Apr 13, 2020
@browner12 browner12 deleted the carbon branch April 13, 2020 19:20
@driesvints
Copy link
Member

Thanks @browner12!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants