mirror of
https://github.com/Deathgarden-Rebirth/Deathgarden_Rebirth-Rewrite.git
synced 2026-09-09 11:45:18 -05:00
Tried fixing some more timezone stuff and ban status check for the admin UI
This commit is contained in:
@@ -118,8 +118,8 @@ public function banPost(User $user, Ban $ban, BanPostRequest $request) {
|
||||
}
|
||||
|
||||
$ban->ban_reason = $request->reason;
|
||||
$ban->start_date = $request->startDate;
|
||||
$ban->end_date = $request->endDate;
|
||||
$ban->start_date = Carbon::parse($request->startDate, 'Europe/Berlin');
|
||||
$ban->end_date = Carbon::parse($request->endDate, 'Europe/Berlin');
|
||||
$ban->save();
|
||||
|
||||
Session::flash('alert-success', 'Ban Edited Successfully!');
|
||||
|
||||
Reference in New Issue
Block a user