Silent 6 년 전
부모
커밋
d99f1a65d7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Models/Student.php

+ 1 - 1
app/Models/Student.php

xqd
@@ -141,6 +141,6 @@ class Student extends Model
             $duration = strtotime($item->end_date_time) - strtotime($item->begin_date_time);
             $total += $duration;
         }
-        return $total / 60;
+        return floor($total / 60);
     }
 }