-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:
parent
7751ad7ac7
commit
755c5a8469
4 changed files with 6 additions and 10 deletions
|
@ -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){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue