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

[6.x] Drop Carbon 2 support #11500

Merged
merged 7 commits into from
Feb 25, 2025
Merged

[6.x] Drop Carbon 2 support #11500

merged 7 commits into from
Feb 25, 2025

Conversation

duncanmcclean
Copy link
Member

This pull request drops support for Carbon 2 in Statamic 6.

Breaking changes

Carbon 3 introduced a change to the ->diffIn...() methods, where they'll return floats instead of integers and past dates will return negative numbers.

This change will be reflected by Statamic's months_ago, weeks_ago, days_ago, hours_ago, minutes_ago, and seconds_ago modifiers

@duncanmcclean duncanmcclean marked this pull request as ready for review February 25, 2025 16:50
@jasonvarga jasonvarga merged commit 1c665ad into master Feb 25, 2025
11 checks passed
@jasonvarga jasonvarga deleted the drop-carbon-2-support branch February 25, 2025 18:47
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.

2 participants