Answer the question
In order to leave comments, you need to log in
How to solve created_at problem in Laravel?
Actually, the problem is:
Timestamps in the database are saved in UTC (+00:00)
But when the model is received, they are returned from -03:00
APP_TIMEZONE=UTC
DB_TIMEZONE=+00:00
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question