CC-4855: System->Preferences->Fade in/out settings: Number's format is incorrect.

-use existing function to convert seconds to time format
This commit is contained in:
denise 2013-01-18 14:35:17 -05:00
parent 77768aa7ca
commit ad0879996d
2 changed files with 2 additions and 13 deletions

View file

@ -451,8 +451,8 @@ class Application_Model_Scheduler
// default fades are in seconds
// we need to convert to '00:00:00' format
$file['fadein'] = Application_Common_DateHelper::convertSecondsToTimeFormat($file['fadein']);
$file['fadeout'] = Application_Common_DateHelper::convertSecondsToTimeFormat($file['fadeout']);
$file['fadein'] = Application_Common_DateHelper::secondsToPlaylistTime($file['fadein']);
$file['fadeout'] = Application_Common_DateHelper::secondsToPlaylistTime($file['fadeout']);
$sched->setDbStarts($nextStartDT)
->setDbEnds($endTimeDT)