CC-5074: Editing a linked instance sets incorrect schedule start times
This commit is contained in:
parent
1384c5d39d
commit
4ca60ca676
4 changed files with 21 additions and 13 deletions
|
@ -185,4 +185,10 @@ class CcShowInstances extends BaseCcShowInstances {
|
|||
return $this->getDbRebroadcast() == 1 ? true : false;
|
||||
}
|
||||
|
||||
public function getLocalStartDateTime()
|
||||
{
|
||||
$startDT = $this->getDbStarts(null);
|
||||
return $startDT->setTimezone(new DateTimeZone(Application_Model_Preference::GetTimezone()));
|
||||
}
|
||||
|
||||
} // CcShowInstances
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue