-day view now highlights current show

This commit is contained in:
mkonecny 2011-02-09 15:45:45 -05:00
parent ce23df43d1
commit 28f3a77246
2 changed files with 6 additions and 1 deletions

View file

@ -59,7 +59,8 @@ class Application_Model_Nowplaying
$next = Schedule::Get_Scheduled_Item_Data($timeNow, 1, 10, "24 hours");
} else {
$date = new Application_Model_DateHelper;
$date->setDate($dateString);
$time = $date->getTime();
$date->setDate($dateString." ".$time);
$timeNow = $date->getDate();
$previous = array_reverse(Schedule::Get_Scheduled_Item_Data($timeNow, -1, "ALL", $date->getNowDayStartDiff()." seconds"));