Compare commits

..

2 Commits

Author SHA1 Message Date
Beu
e0028a7f47 Merge branch 'master' of https://git.virtit.fr/beu/TrackManiaControl 2023-04-11 15:49:48 +02:00
Beu
195e942bd3 Fix implicit conversion 2023-04-11 15:49:32 +02:00

View File

@ -89,7 +89,7 @@ abstract class Formatter implements UsageInformationAble {
*/
public static function formatTimeH($seconds) {
$hrs = floor($seconds / 3600);
$mins = intval(floor(($seconds / 60) % 60));
$mins = intval(floor($seconds / 60) % 60);
$sec = intval($seconds % 60);
$hrs = str_pad($hrs, 2, '0', STR_PAD_LEFT);