diff --git a/phpBB/privmsg.php b/phpBB/privmsg.php index cd204521e0..2e861d9e1d 100644 --- a/phpBB/privmsg.php +++ b/phpBB/privmsg.php @@ -376,7 +376,7 @@ if( $mode == "read" ) $username_to = $privmsg['username_2']; $user_id_to = $privmsg['user_id_2']; - $post_date = create_date($board_config['default_dateformat'], $privmsg['privmsgs_date'], $board_config['default_timezone']); + $post_date = create_date($board_config['default_dateformat'], $privmsg['privmsgs_date'], $board_config['board_timezone']); $profile_img = "\"""; @@ -1833,4 +1833,4 @@ $template->pparse("body"); include($phpbb_root_path . 'includes/page_tail.'.$phpEx); -?> \ No newline at end of file +?> diff --git a/phpBB/viewonline.php b/phpBB/viewonline.php index 7e220e5cb7..dee1adf957 100644 --- a/phpBB/viewonline.php +++ b/phpBB/viewonline.php @@ -199,7 +199,7 @@ if( count($onlinerow_reg) ) "ROW_COLOR" => "#" . $row_color, "ROW_CLASS" => $row_class, "USERNAME" => $username, - "LASTUPDATE" => create_date($board_config['default_dateformat'], $onlinerow_reg[$i]['session_time'], $board_config['default__timezone']), + "LASTUPDATE" => create_date($board_config['default_dateformat'], $onlinerow_reg[$i]['session_time'], $board_config['board_timezone']), "LOCATION" => $location, "U_USER_PROFILE" => append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $onlinerow_reg[$i]['user_id']), @@ -322,4 +322,4 @@ $template->pparse("body"); include($phpbb_root_path . 'includes/page_tail.'.$phpEx); -?> \ No newline at end of file +?>