Not sure why I keep calling this tool nestor, it's called rector

This commit is contained in:
James Cole
2025-05-24 05:52:31 +02:00
parent 1c33be4828
commit b8e33201bd
8 changed files with 25 additions and 14 deletions

View File

@@ -153,7 +153,7 @@ class RecurrenceController extends Controller
*/
public function suggest(Request $request): JsonResponse
{
$string = '' === (string) $request->get('date') ? date('Y-m-d') : (string) $request->get('date');
$string = '' === (string) $request->get('date') ? Carbon::now()->format('Y-m-d') : (string) $request->get('date');
$today = today(config('app.timezone'))->startOfDay();
try {