Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
This commit is contained in:
commit
da691dcfb7
|
@ -569,8 +569,10 @@ class Application_Model_ShowInstance {
|
||||||
$time = $this->_showInstance->getDbTimeFilled();
|
$time = $this->_showInstance->getDbTimeFilled();
|
||||||
|
|
||||||
if ($time != "00:00:00") {
|
if ($time != "00:00:00") {
|
||||||
$milliseconds = substr(round(substr($time, 8), 2), 1);
|
$time_arr = explode(".", $time);
|
||||||
$time = substr($time, 0, 8) . $milliseconds;
|
$time_arr[1] = "." . $time_arr[1];
|
||||||
|
$milliseconds = number_format(round($time_arr[1], 2), 2);
|
||||||
|
$time = $time_arr[0] . substr($milliseconds, 1);
|
||||||
} else {
|
} else {
|
||||||
$time = "00:00:00.00";
|
$time = "00:00:00.00";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue