From 6bbc034d9bb734df6ceffaa3cffb5a482ba9b7cf Mon Sep 17 00:00:00 2001 From: Naomi Date: Wed, 6 Apr 2011 17:54:22 -0400 Subject: [PATCH] adding genre field, 6 months of 1 hour shows. --- application/models/tests/populator.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/application/models/tests/populator.php b/application/models/tests/populator.php index 4c3b5a994..2edc0df93 100644 --- a/application/models/tests/populator.php +++ b/application/models/tests/populator.php @@ -58,6 +58,7 @@ function createTestShow($showNumber, $showTime, $duration = "1:00") $data['add_show_description'] = 'automated show'; $data['add_show_url'] = 'http://www.OfirGal.com'; $data['add_show_color'] = ""; + $data['add_show_genre'] = "Ofir"; $data['add_show_background_color'] = ""; $data['add_show_record'] = 0; $data['add_show_hosts'] =""; @@ -76,10 +77,10 @@ function createTestShow($showNumber, $showTime, $duration = "1:00") $showTime = new DateTime(); -$resolution = "minute"; +$resolution = "hour"; $showNumber = 1; -$numberOfDays = 0; -$numberOfHours = 1; +$numberOfDays = 180; +$numberOfHours = 0; $endDate = new DateTime(); $endDate->add(new DateInterval("P".$numberOfDays."DT".$numberOfHours."H")); echo "End date: ".$endDate->format("Y-m-d H:i")."\n";