CC-3498: Calendar -> Show Content better representation of duration needed
-fixed
This commit is contained in:
parent
f522c7a7af
commit
fe68d0fc87
|
@ -568,12 +568,11 @@ class Application_Model_ShowInstance {
|
||||||
{
|
{
|
||||||
$time = $this->_showInstance->getDbTimeFilled();
|
$time = $this->_showInstance->getDbTimeFilled();
|
||||||
|
|
||||||
if (is_null($time)) {
|
if ($time != "00:00:00") {
|
||||||
$time = "00:00:00";
|
$milliseconds = substr(round(substr($time, 8), 2), 1);
|
||||||
}
|
$time = substr($time, 0, 8) . $milliseconds;
|
||||||
else {
|
} else {
|
||||||
$formatter = new LengthFormatter($time);
|
$time = "00:00:00.00";
|
||||||
$time = $formatter->format();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return $time;
|
return $time;
|
||||||
|
|
Loading…
Reference in New Issue