Fix for session being reported negative
This commit is contained in:
parent
64d37741a5
commit
171392cf40
@ -92,7 +92,7 @@ class Node
|
||||
|
||||
// Return how long our session has been connected
|
||||
case 'session_time':
|
||||
return sprintf("%d",Carbon::now()->diffInSeconds($this->start_time));
|
||||
return sprintf("%d",$this->start_time->diffInSeconds(Carbon::now()));
|
||||
|
||||
case 'system':
|
||||
case 'sysop':
|
||||
|
Loading…
Reference in New Issue
Block a user