Answer the question
In order to leave comments, you need to log in
Unknown or bad timezone (Europe/Moscow) - how is this possible?
We have Laravel with timezone settings
'timezone' => 'UTC', // настройка для самого Laravel
'api_timezone' => 'Europe/Moscow', // настройка для данных от API
$income_date = Carbon::
createFromFormat(
'Y-m-d\TH:i:s',
$record['date'],
config('app.api_timezone')
)->
setTimezone(config('app.timezone'))->
toDateTimestring();
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