Skip to content

defineEnvironment fails to define app.timezone #415

Answered by crynobone
devajmeireles asked this question in Q&A
Discussion options

You must be logged in to vote

Should the timezone only be set using getApplicationTimezone?

getApplicationTimezone() also set date_default_timezone_set() similar to Illuminate\Foundation\Bootstrap\LoadConfiguration which does happen much earlier than defineEnvironment(). So yes I believe this is the correct way to set timezone.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by devajmeireles
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #414 on August 26, 2024 02:19.