Silent %!s(int64=6) %!d(string=hai) anos
pai
achega
d99f1a65d7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
     }
 }