Enable more than 24 hours in timed statistics
This commit is contained in:
@@ -698,7 +698,7 @@ class SP_Player extends SP_Custom_Post {
|
||||
|
||||
$intval = intval( $performance_value );
|
||||
$timeval = gmdate( 'i:s', $intval );
|
||||
$hours = gmdate( 'H', $intval );
|
||||
$hours = floor( $intval / 3600 );
|
||||
|
||||
if ( '00' != $hours )
|
||||
$timeval = $hours . ':' . $timeval;
|
||||
|
||||
Reference in New Issue
Block a user