Timestamp Timezone Problem #51161
Unanswered
offizium-berndstorath
asked this question in
Q&A
Replies: 1 comment 27 replies
-
Set your timezone in laravel
|
Beta Was this translation helpful? Give feedback.
27 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I get this in phpmyadmin
I get this using xdebug
$model->created_at->toString();
I get this when calling the api
casts are
mysql and config timezones are +2 and Europe/Berlin respectively. Both are mysql data type
TIMESTAMP
When setting the mysql timezone to utc this problem doesnt exist anymore. But this is not the fix i am hoping for
Why do the two times suddenly differ?
Beta Was this translation helpful? Give feedback.
All reactions