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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user