-fixed issue with unix pypo user not being assigned to groups

-fixed issue with time being incorrect if server was in different timezone
This commit is contained in:
martin 2011-01-31 16:34:08 -05:00
parent 7751ad7ac7
commit 755c5a8469
4 changed files with 6 additions and 10 deletions

View file

@ -472,10 +472,11 @@ class Schedule {
}
$timeNow = Schedule::GetSchedulerTime();
return array("schedulerTime"=>$timeNow,"previous"=>Schedule::GetPreviousItems($timeNow),
return array("schedulerTime"=>gmdate("Y-m-d H:i:s"),"previous"=>Schedule::GetPreviousItems($timeNow),
"current"=>Schedule::GetCurrentlyPlaying($timeNow),
"next"=>Schedule::GetNextItems($timeNow),
"timezone"=> date("T"));
"timezone"=> date("T"),
"timezoneOffset"=> date("Z"));
}
public static function GetPreviousItems($timeNow, $prevCount = 1){