Enable more than 24 hours in timed statistics
This commit is contained in:
@@ -221,7 +221,7 @@ class SP_Event 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