From 3d234d391c4a454d3b964803566d31583b2591e4 Mon Sep 17 00:00:00 2001 From: James Atkinson Date: Thu, 19 Apr 2001 06:21:36 +0000 Subject: [PATCH] Some more fine turning on the profile section git-svn-id: file:///svn/phpbb/trunk@180 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/profile.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/phpBB/profile.php b/phpBB/profile.php index 6fdaf3f8bb..c666118835 100644 --- a/phpBB/profile.php +++ b/phpBB/profile.php @@ -55,7 +55,7 @@ switch($mode) // Calculate the number of days this user has been a member ($memberdays) // Then calculate their posts per day - $regdate = strtotime($profiledata['user_regdate']); + $regdate = $profiledata['user_regdate']; $memberdays = (time() - $regdate) / (24*60*60); $posts_per_day = $profiledata['user_posts'] / $memberdays; @@ -85,7 +85,7 @@ switch($mode) "L_USERNAME" => $l_username, "L_VIEWPOSTUSER" => $l_viewpostuser, "L_JOINED" => $l_joined, - "JOINED" => $profiledata['user_regdate'], + "JOINED" => create_date($date_format, $profiledata['user_regdate'], $sys_timezone), "POSTS_PER_DAY" => $posts_per_day, "L_PERDAY" => $l_perday, "POSTS" => $profiledata['user_posts'], @@ -206,7 +206,7 @@ switch($mode) VALUES ( $new_user_id, '".addslashes($username)."', - '".time()."', + '".gmmktime(gmdate("H, i, s, m, d, Y", time()))."', '$md_pass', '$email', '$icq',