1
This commit is contained in:
parent
53a68e2af9
commit
36177cd55a
@ -11,6 +11,7 @@ class BaseController {
|
||||
{
|
||||
global $_myself;
|
||||
$_myself = $this;
|
||||
$this->timeZone = 0;
|
||||
$this->nowtime = phpcommon\getNowTime();
|
||||
}
|
||||
|
||||
@ -34,7 +35,7 @@ class BaseController {
|
||||
|
||||
public function _getDaySeconds($time)
|
||||
{
|
||||
return phpcommon\getDaySeconds($time);
|
||||
return phpcommon\getDaySeconds($time, $this->timeZone);
|
||||
}
|
||||
|
||||
public function _getTodayRemainSeconds()
|
||||
@ -44,7 +45,7 @@ class BaseController {
|
||||
|
||||
public function _getMondaySeconds()
|
||||
{
|
||||
return phpcommon\getMondaySeconds($this->_getNowTime());
|
||||
return phpcommon\getMondaySeconds($this->_getNowTime(), $this->timeZone);
|
||||
}
|
||||
|
||||
public function _rspErr($errcode, $errmsg)
|
||||
|
Loading…
x
Reference in New Issue
Block a user