Делаю комментарии. В модели Comment помимо стандартной даты created_at есть еще дата родителя created_at_parent.
Я добавил в модель Comment, protected $dates = ['created_at_parent']; , чтобы created_at_parent был карбон объектом.
По умолчанию created_at_parent == created_at.
Создаю объект Comment, присваиваю $comment->created_at к $comment->created_at_parent.
$comment = new Comment();
$comment->text = $request->get('text');
$comment->created_at_parent = $comment->created_at;
$comment->save();
И после сохранения получаю даты с разницой 3 часа. Хотя оба объекта Carbon.
Если делать предварительный parse через carbon то все ок. Ну это же костыль какой-то
$comment = new Comment();
$comment->text = $request->get('text');
$comment->created_at_parent = Carbon::parse($comment->created_at);
$comment->save();
Как правильно работать с датой в таком случае?