1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-05 08:17:47 +02:00

[feature/new-tz-handling] Remove appearances of board_dst and user_dst

PHPBB3-9558
This commit is contained in:
Joas Schilling
2012-06-04 23:28:48 +02:00
parent 963d4afc2c
commit 3c6272ff04
11 changed files with 7 additions and 17 deletions

View File

@@ -126,7 +126,7 @@ class phpbb_user extends phpbb_session
if (is_numeric($this->tz))
{
// Might still be numeric by chance
$this->tz = sprintf('Etc/GMT%+d', ($this->tz + ($this->data['user_id'] != ANONYMOUS ? $this->data['user_dst'] : $config['board_dst'])));
$this->tz = sprintf('Etc/GMT%+d', $this->tz);
}
$this->tz = new DateTimeZone($this->tz);