diff --git a/resources/views/aboutus/vacancy.blade.php b/resources/views/aboutus/vacancy.blade.php index 19d138e8..d9685b3a 100644 --- a/resources/views/aboutus/vacancy.blade.php +++ b/resources/views/aboutus/vacancy.blade.php @@ -14,7 +14,7 @@ @section('content')
- @if(Carbon\Carbon::parse($vacancy['expires'])->isPast()) + @if(Carbon\Carbon::parse($vacancy['expires'])->endOfDay()->isPast()) @include('includes.structure.jobexpired') @endif @if(isset($vacancy['salary_range'])) @@ -30,7 +30,7 @@ @endisset @markdown($vacancy['job_description']) - @if(!Carbon\Carbon::parse($vacancy['expires'])->isPast()) + @if(!Carbon\Carbon::parse($vacancy['expires'])->endOfDay()->isPast()) @include('includes.structure.jobLink') @endif diff --git a/resources/views/components/vacancy.blade.php b/resources/views/components/vacancy.blade.php index f23a8bc6..b345f9a2 100644 --- a/resources/views/components/vacancy.blade.php +++ b/resources/views/components/vacancy.blade.php @@ -10,7 +10,7 @@ loading="lazy"/> @endif - @if(Carbon\Carbon::parse($vacancy['expires'])->isPast()) + @if(Carbon\Carbon::parse($vacancy['expires'])->endOfDay()->isPast()) @include('includes.structure.jobexpired') @endif