Enable more than 24 hours in timed statistics

This commit is contained in:
Brian Miyaji
2016-12-21 13:23:07 +11:00
parent f1c5657a83
commit 6ad7e6ed2c
4 changed files with 5 additions and 5 deletions

View File

@@ -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;