diff --git a/app/Http/Controllers/EmployerController.php b/app/Http/Controllers/EmployerController.php index 07a1a6a..babb753 100644 --- a/app/Http/Controllers/EmployerController.php +++ b/app/Http/Controllers/EmployerController.php @@ -309,8 +309,7 @@ class EmployerController extends Controller // Обновление даты public function vacancy_up(Ad_employer $ad_employer) { - $up = date('m/d/Y h:i:s', time()); - $ad_employer->updated_at = $up; + $ad_employer->updated_at = now(); $ad_employer->save(); return redirect()->route('employer.vacancy_list')