mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-21 00:02:18 +02:00
Merge pull request #4222 from marc1706/ticket/14536
[ticket/14536] Force unix time stamps to be integer * marc1706/ticket/14536: [ticket/14536] Force unix time stamps to be integer
This commit is contained in:
commit
dcb6154be7
@ -725,7 +725,7 @@ class user extends \phpbb\session
|
||||
$utc = new \DateTimeZone('UTC');
|
||||
}
|
||||
|
||||
$time = new $this->datetime($this, "@$gmepoch", $utc);
|
||||
$time = new $this->datetime($this, '@' . (int) $gmepoch, $utc);
|
||||
$time->setTimezone($this->timezone);
|
||||
|
||||
return $time->format($format, $forcedate);
|
||||
|
Loading…
x
Reference in New Issue
Block a user