mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-21 09:01:29 +02:00
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/13118] Correctly use the provided datetime class
This commit is contained in:
@@ -717,7 +717,7 @@ class user extends \phpbb\session
|
||||
$utc = new \DateTimeZone('UTC');
|
||||
}
|
||||
|
||||
$time = new \phpbb\datetime($this, "@$gmepoch", $utc);
|
||||
$time = new $this->datetime($this, "@$gmepoch", $utc);
|
||||
$time->setTimezone($this->timezone);
|
||||
|
||||
return $time->format($format, $forcedate);
|
||||
|
Reference in New Issue
Block a user