日期之间的过滤不起作用,无法从用户那里获取日期和日期
views.py
$already_exists = DB::table('attendanceTable')->where('user_id', $request->loggedUserId)
->where('shift_id', $Shifts->id)
->where('day', today())
->exists();
if ($datetime->format('H:i') >= '05:50' && $datetime->format('H:i') <= '17:10' && !$already_exists) {