--added comment
This commit is contained in:
parent
9d4a474521
commit
62cd704d1c
|
@ -613,6 +613,7 @@ class Application_Model_ShowInstance {
|
||||||
|
|
||||||
if ($days > 0) {
|
if ($days > 0) {
|
||||||
$totalHours = $days * 24 + $hours;
|
$totalHours = $days * 24 + $hours;
|
||||||
|
//$interval object does not have milliseconds so hard code to .00
|
||||||
$returnStr = $totalHours . ":" . $interval->format("%I:%S") . ".00";
|
$returnStr = $totalHours . ":" . $interval->format("%I:%S") . ".00";
|
||||||
} else {
|
} else {
|
||||||
$returnStr = $hours . ":" . $interval->format("%I:%S") . ".00";
|
$returnStr = $hours . ":" . $interval->format("%I:%S") . ".00";
|
||||||
|
|
Loading…
Reference in New Issue