{{date('d-m-Y',strtotime($photo->created_at))}} @if ((Auth::check() and $photo->user_id == \Auth::user()->id)) @endif