mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 07:27:17 +02:00
[feature/new-tz-handling] Fix docs in phpbb_user class
PHPBB3-9558
This commit is contained in:
parent
c7d32a1b2d
commit
a5628cbdc8
@ -29,6 +29,10 @@ class phpbb_user extends phpbb_session
|
|||||||
var $help = array();
|
var $help = array();
|
||||||
var $theme = array();
|
var $theme = array();
|
||||||
var $date_format;
|
var $date_format;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* DateTimeZone object holding the timezone of the user
|
||||||
|
*/
|
||||||
public $tz;
|
public $tz;
|
||||||
|
|
||||||
var $lang_name = false;
|
var $lang_name = false;
|
||||||
@ -125,7 +129,7 @@ class phpbb_user extends phpbb_session
|
|||||||
|
|
||||||
if (is_numeric($this->tz))
|
if (is_numeric($this->tz))
|
||||||
{
|
{
|
||||||
// Might still be numeric by chance
|
// Might still be numeric
|
||||||
$this->tz = sprintf('Etc/GMT%+d', $this->tz);
|
$this->tz = sprintf('Etc/GMT%+d', $this->tz);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user