[svn r11298]

skala
Eric Marguin 18 years ago
parent adb974e445
commit fbc0f275c4
  1. 2
      main/inc/lib/main_api.lib.php

@ -1729,7 +1729,7 @@ function api_time_to_hms($seconds)
$min = "0".$min; $min = "0".$min;
//How many seconds //How many seconds
$sec = $seconds - ($hours * 3600) - ($min * 60); $sec = floor($seconds - ($hours * 3600) - ($min * 60));
if ($sec < 10) if ($sec < 10)
$sec = "0".$sec; $sec = "0".$sec;

Loading…
Cancel
Save