adding genre field, 6 months of 1 hour shows.

This commit is contained in:
Naomi 2011-04-06 17:54:22 -04:00
parent 94011e2734
commit 6bbc034d9b

View file

@ -58,6 +58,7 @@ function createTestShow($showNumber, $showTime, $duration = "1:00")
$data['add_show_description'] = 'automated show'; $data['add_show_description'] = 'automated show';
$data['add_show_url'] = 'http://www.OfirGal.com'; $data['add_show_url'] = 'http://www.OfirGal.com';
$data['add_show_color'] = ""; $data['add_show_color'] = "";
$data['add_show_genre'] = "Ofir";
$data['add_show_background_color'] = ""; $data['add_show_background_color'] = "";
$data['add_show_record'] = 0; $data['add_show_record'] = 0;
$data['add_show_hosts'] =""; $data['add_show_hosts'] ="";
@ -76,10 +77,10 @@ function createTestShow($showNumber, $showTime, $duration = "1:00")
$showTime = new DateTime(); $showTime = new DateTime();
$resolution = "minute"; $resolution = "hour";
$showNumber = 1; $showNumber = 1;
$numberOfDays = 0; $numberOfDays = 180;
$numberOfHours = 1; $numberOfHours = 0;
$endDate = new DateTime(); $endDate = new DateTime();
$endDate->add(new DateInterval("P".$numberOfDays."DT".$numberOfHours."H")); $endDate->add(new DateInterval("P".$numberOfDays."DT".$numberOfHours."H"));
echo "End date: ".$endDate->format("Y-m-d H:i")."\n"; echo "End date: ".$endDate->format("Y-m-d H:i")."\n";