diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2012-06-20 00:29:31 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2012-06-20 00:29:31 +0200 |
commit | a5628cbdc85a197f32bd14890938dabd23bb6ef6 (patch) | |
tree | ee4bad9d7f610c192c3b9dfdf2a05245dbd56738 /phpBB/includes/user.php | |
parent | c7d32a1b2d300618278cb8178f9dfefa93804167 (diff) | |
download | forums-a5628cbdc85a197f32bd14890938dabd23bb6ef6.tar forums-a5628cbdc85a197f32bd14890938dabd23bb6ef6.tar.gz forums-a5628cbdc85a197f32bd14890938dabd23bb6ef6.tar.bz2 forums-a5628cbdc85a197f32bd14890938dabd23bb6ef6.tar.xz forums-a5628cbdc85a197f32bd14890938dabd23bb6ef6.zip |
[feature/new-tz-handling] Fix docs in phpbb_user class
PHPBB3-9558
Diffstat (limited to 'phpBB/includes/user.php')
-rw-r--r-- | phpBB/includes/user.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/phpBB/includes/user.php b/phpBB/includes/user.php index 0990cc601a..df8f048c89 100644 --- a/phpBB/includes/user.php +++ b/phpBB/includes/user.php @@ -29,6 +29,10 @@ class phpbb_user extends phpbb_session var $help = array(); var $theme = array(); var $date_format; + + /** + * DateTimeZone object holding the timezone of the user + */ public $tz; var $lang_name = false; @@ -125,7 +129,7 @@ class phpbb_user extends phpbb_session if (is_numeric($this->tz)) { - // Might still be numeric by chance + // Might still be numeric $this->tz = sprintf('Etc/GMT%+d', $this->tz); } |