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

[11.x] fix: sync config/app.php change to laravel/laravel #54792

Closed
wants to merge 1 commit into from

Conversation

askdkc
Copy link
Contributor

@askdkc askdkc commented Feb 25, 2025

What's this?

This PR is similar to #54752 but it's for 11.x.

Since laravel/laravel#6536, Laravel 11 and 12, the APP_TIMEZONE environment variable is removed from .env and reverted to being defined in config/app.php as 'timezone' => 'UTC' which changed from 'timezone' => env('APP_TIMEZONE', 'UTC').

Solution this PR provides

This PR updates laravel/framework's config/app.php to match laravel/laravel's implementation.

@taylorotwell
Copy link
Member

This could be a breaking change.

@askdkc askdkc deleted the sync-11-config branch February 25, 2025 22:08
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