defineEnvironment
fails to define app.timezone
#415
-
Description:I'm working on TallStackUI V2 - rewriting some tests and improving our test suite with new methods. Today, I started working on the Date component and when I tried to set the timezone to I'm questioning this because the docs says: "You can also easily override the application's default timezone" - this makes it seem like there is another way. Steps To Reproduce:Try to set the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
getApplicationTimezone()
also setdate_default_timezone_set()
similar toIlluminate\Foundation\Bootstrap\LoadConfiguration
which does happen much earlier thandefineEnvironment()
. So yes I believe this is the correct way to set timezone.