mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 11:01:48 +02:00
[feature/new-tz-handling] Correct capitalisation of phpbb_datetime.
PHPBB3-9558
This commit is contained in:
committed by
Oleg Pudeyev
parent
3559d20624
commit
b2a812e36b
@@ -2093,7 +2093,7 @@ class user extends session
|
|||||||
$utc = new DateTimeZone('UTC');
|
$utc = new DateTimeZone('UTC');
|
||||||
}
|
}
|
||||||
|
|
||||||
$time = new phpbb_DateTime("@$gmepoch", $utc, $this);
|
$time = new phpbb_datetime("@$gmepoch", $utc, $this);
|
||||||
$time->setTimezone($this->tz);
|
$time->setTimezone($this->tz);
|
||||||
|
|
||||||
return $time->format($format, $forcedate);
|
return $time->format($format, $forcedate);
|
||||||
|
Reference in New Issue
Block a user