format('d/m/Y'); } /*public function setCreateAttribute($created_at) { if($created_at) $this->attributes['created_at'] = Carbon::CreateFromFormat('d/m/Y', $created_at)->format('Y-m-d'); }*/ }