Skip to content

Commit

Permalink
[ticket/9176] Take current board timezone settings into account when …
Browse files Browse the repository at this point in the history
…setting board date format.

PHPBB3-9176
  • Loading branch information
bantu committed May 13, 2010
1 parent 925a135 commit 3e9d15a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phpBB/includes/acp/acp_board.php
Original file line number Diff line number Diff line change
Expand Up @@ -888,8 +888,8 @@ function dateformat_select($value, $key)
$old_tz = $user->timezone;
$old_dst = $user->dst;

$user->timezone = $config['board_timezone'];
$user->dst = $config['board_dst'];
$user->timezone = $config['board_timezone'] * 3600;
$user->dst = $config['board_dst'] * 3600;

$dateformat_options = '';

Expand Down

0 comments on commit 3e9d15a

Please sign in to comment.