CC-3498: Calendar -> Show Content better representation of duration needed
-fixed
This commit is contained in:
parent
f522c7a7af
commit
fe68d0fc87
|
@ -567,15 +567,14 @@ class Application_Model_ShowInstance {
|
||||||
public function getTimeScheduled()
|
public function getTimeScheduled()
|
||||||
{
|
{
|
||||||
$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 {
|
||||||
|
$time = "00:00:00.00";
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
$formatter = new LengthFormatter($time);
|
|
||||||
$time = $formatter->format();
|
|
||||||
}
|
|
||||||
|
|
||||||
return $time;
|
return $time;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -53,4 +53,4 @@
|
||||||
To play the media you will need to either update your browser to a recent version or update your <a href="http://get.adobe.com/flashplayer/" target="_blank">Flash plugin</a>.
|
To play the media you will need to either update your browser to a recent version or update your <a href="http://get.adobe.com/flashplayer/" target="_blank">Flash plugin</a>.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -645,4 +645,4 @@ a.jp-shuffle-off:hover {
|
||||||
font-weight:bold;
|
font-weight:bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* @end */
|
/* @end */
|
||||||
|
|
Loading…
Reference in New Issue