By default, the date and datetime casts will serialize dates to a UTC ISO-8601 date string (1986-05-28T21:05:54.000000Z), regardless of the timezone specified in your application's timezone configuration option.
so what ever timezone I use in the app.php config it always use UTC.
If using custom format:
If a custom format is applied to the date or datetime cast, such as datetime:Y-m-d H:i:s, the inner timezone of the Carbon instance will be used during date serialization. Typically, this will be the timezone specified in your application's timezone configuration option.
it should use the timezone setting that I provided in the config
@calin.ionut Did you find out a solution ?
I'm facing the same issue right now, the only solution that I got right now is to put the value of create_at in another variable and it will display correctly
@calin.ionut It worked, thank you for your response. but I think they should make if for separate variables in the next versions, maybe we can collaborate to do it since we face the same issue !!