Correction des différents bugs

This commit is contained in:
hugo committed 2024-11-27 16:30:59 +01:00
1 parent 780798ff25
commit cda2104b11
25 files changed
+1096 -334

No files matched your search

+2 -2
View File
@@ -65,10 +65,10 @@ class Contests extends Component
public function render()
{
$datefin = Carbon::now()->addDays(3)->format('Y-m-d');
$contests = Contest::where('fin', '>=', now())
$contests = Contest::where('fin', '>=', Carbon::now()->format('Y-m-d'))
->where('fin', '<=', $datefin)
->where('participated', '!=', true)
//->where('enable', true)
->where('enable', true)
->orderBy('fin', 'asc')
->paginate(20);