Compare commits
No commits in common. "e0028a7f47d000e141f0e22357ff20297c0a1f28" and "4c78ee9d1da571ab0e5f19a887a4e7f4755e396a" have entirely different histories.
e0028a7f47
...
4c78ee9d1d
@ -89,7 +89,7 @@ abstract class Formatter implements UsageInformationAble {
|
|||||||
*/
|
*/
|
||||||
public static function formatTimeH($seconds) {
|
public static function formatTimeH($seconds) {
|
||||||
$hrs = floor($seconds / 3600);
|
$hrs = floor($seconds / 3600);
|
||||||
$mins = intval(floor($seconds / 60) % 60);
|
$mins = intval(floor(($seconds / 60) % 60));
|
||||||
$sec = intval($seconds % 60);
|
$sec = intval($seconds % 60);
|
||||||
|
|
||||||
$hrs = str_pad($hrs, 2, '0', STR_PAD_LEFT);
|
$hrs = str_pad($hrs, 2, '0', STR_PAD_LEFT);
|
||||||
|
Loading…
Reference in New Issue
Block a user