From 287a429fec65713f0ccac452f338abf4a67a4ebb Mon Sep 17 00:00:00 2001 From: Nur Izzati Zulkifli Date: Sun, 8 Jan 2023 13:41:29 +0800 Subject: [PATCH] edit tarikh --- app/Http/Controllers/LelongController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/LelongController.php b/app/Http/Controllers/LelongController.php index 1a325e8d..dd8558cf 100644 --- a/app/Http/Controllers/LelongController.php +++ b/app/Http/Controllers/LelongController.php @@ -2085,7 +2085,7 @@ class LelongController extends Controller $month = $current->month; $year = $current->format('y'); - $today = $current->format('2022-12-24'); + $today = $current->format('Y-m-d'); // dd($today); $lelong = Lelong::where('id', '=', $lelong_id)->first();