Skip to content

[4.x] Remove toStringFormat handling for Carbon 2 #201

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

Merged
merged 2 commits into from
May 1, 2025

Conversation

duncanmcclean
Copy link
Member

This pull request removes the toStringFormat handling for Carbon 2, which is no longer supported in Statamic 6.

Related: statamic/cms#11500

@duncanmcclean duncanmcclean merged commit 08e44b1 into master May 1, 2025
29 checks passed
@duncanmcclean duncanmcclean deleted the drop-carbon-2-support branch May 1, 2025 09:51
jesseleite added a commit that referenced this pull request Jul 18, 2025
* Require statamic/cms dev-master for now

We can change this to `^6.0` when an alpha/beta is tagged.

* [4.x] Drop Laravel 10 Support (#200)

* Remove Testbench 8 from composer.json

* Remove PHPUnit 10

* Remove Laravel 10 and PHP 8.1 from testing matrix

* Remove toStringFormat handling for Carbon 2 (#201)

* [4.x] Improved Timezone Handling (#197)

* Take the "display timezone" into account when setting Carbon string format

* Use `Statamic::displayTimezone()`

* Add config to enforce trailing slashes during generation.

* Fix for 404 not generating.

* Assemble absolute URL instead.

* Fix `is404()` logic for hardcoded 404.html destination.

* Handle config (tests still wip).

* Add basic test coverage for generated URLs.

* Add test coverage for our 404 fix.

* Remove experimental note. We can just fix bugs as they're reported.

* Temporary composer constraint until we tag Statamic v6.

---------

Co-authored-by: Duncan McClean <[email protected]>
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.

1 participant