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:
James 2011-10-05 17:27:00 -04:00
parent 7a03fc6a18
commit c35f77a9aa
4 changed files with 13 additions and 3 deletions

View file

@ -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);
}