From a5628cbdc85a197f32bd14890938dabd23bb6ef6 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 20 Jun 2012 00:29:31 +0200 Subject: [PATCH] [feature/new-tz-handling] Fix docs in phpbb_user class PHPBB3-9558 --- phpBB/includes/user.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); }