CC-2932: Recorder: When show is recorded, the file name is generated
with UTC time. - fixed - new pybundle is created with 'pytz' package
This commit is contained in:
parent
7a03fc6a18
commit
c35f77a9aa
4 changed files with 13 additions and 3 deletions
|
@ -367,7 +367,7 @@ class ApiController extends Zend_Controller_Action
|
|||
$show_inst->setRecordedFile($file_id);
|
||||
$show_name = $show_inst->getName();
|
||||
$show_genre = $show_inst->getGenre();
|
||||
$show_start_time = $show_inst->getShowStart();
|
||||
$show_start_time = ConvertToLocalDateTimeString($show_inst->getShowStart());
|
||||
|
||||
} catch (Exception $e){
|
||||
//we've reached here probably because the show was
|
||||
|
|
|
@ -78,6 +78,7 @@ class Application_Model_RabbitMq
|
|||
$end_timestamp = new DateTime("@".time() + 3600*2);
|
||||
|
||||
$temp['event_type'] = $event_type;
|
||||
$temp['server_timezone'] = Application_Model_Preference::GetTimezone();
|
||||
if($event_type = "update_schedule"){
|
||||
$temp['shows'] = Application_Model_Show::getShows($now->format("Y-m-d H:i:s"), $end_timestamp->format("Y-m-d H:i:s"), $excludeInstance=NULL, $onlyRecord=TRUE);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue