src/Traits/DateTimeTrait.php
public function updatedAt($timeAgo = false, $format = 'd.m.Y'): string
    {
        return $timeAgo ? $this->getTimeAgo($this->updated_at) : $this->updated_at->format($format);
    }
public function updatedAt($timeAgo = false, $format = 'd.m.Y'): string
    {
        return $timeAgo ? $this->getTimeAgo($this->updated_at) : $this->updated_at->format($format);
    }
@param bool   $timeAgo
@param string $format

@return string