Ban datetime format
This commit is contained in:
parent
98e557a840
commit
178bc31a6e
|
@ -56,7 +56,7 @@ class BanController extends Controller
|
|||
$ban = Ban::create([
|
||||
'userID' => $user->id,
|
||||
'reason' => $reason,
|
||||
'bannedUntil' => $expiryDate,
|
||||
'bannedUntil' => $expiryDate->format('Y-m-d H:i:s'),
|
||||
'userAgent' => "Unknown",
|
||||
'authorUserID' => Auth::user()->id
|
||||
]);
|
||||
|
|
Loading…
Reference in New Issue