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

-fixed
This commit is contained in:
denise 2013-01-18 14:28:45 -05:00
parent ed7b22118c
commit 22ecc3f1fc
2 changed files with 17 additions and 0 deletions

View file

@ -448,6 +448,12 @@ class Application_Model_Scheduler
} else {
$sched = new CcSchedule();
}
// 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']);
$sched->setDbStarts($nextStartDT)
->setDbEnds($endTimeDT)
->setDbCueIn($file['cuein'])