diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2007-04-24 17:19:01 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-04-24 17:19:01 +0000 |
commit | 9f9322511d8ab88beb8f1bf3e5e8b4495a7179ce (patch) | |
tree | 5cb3042a436c241c5d6cd3eaab6d5f4359925599 /phpBB/includes/ucp | |
parent | 7730930373e62d5cfb9326025b9955cd6dd00a7e (diff) | |
download | forums-9f9322511d8ab88beb8f1bf3e5e8b4495a7179ce.tar forums-9f9322511d8ab88beb8f1bf3e5e8b4495a7179ce.tar.gz forums-9f9322511d8ab88beb8f1bf3e5e8b4495a7179ce.tar.bz2 forums-9f9322511d8ab88beb8f1bf3e5e8b4495a7179ce.tar.xz forums-9f9322511d8ab88beb8f1bf3e5e8b4495a7179ce.zip |
do not substract one year, only show the full date to not confuse users.
git-svn-id: file:///svn/phpbb/trunk@7396 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/ucp')
-rw-r--r-- | phpBB/includes/ucp/ucp_prefs.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_prefs.php b/phpBB/includes/ucp/ucp_prefs.php index 07fa954d16..2291fedfe7 100644 --- a/phpBB/includes/ucp/ucp_prefs.php +++ b/phpBB/includes/ucp/ucp_prefs.php @@ -94,7 +94,7 @@ class ucp_prefs foreach ($user->lang['dateformats'] as $format => $null) { $dateformat_options .= '<option value="' . $format . '"' . (($format == $data['dateformat']) ? ' selected="selected"' : '') . '>'; - $dateformat_options .= $user->format_date(time(), $format, false) . ((strpos($format, '|') !== false) ? $user->lang['VARIANT_DATE_SEPARATOR'] . $user->format_date(time() - 31536000, $format, true) : ''); + $dateformat_options .= $user->format_date(time(), $format, false) . ((strpos($format, '|') !== false) ? $user->lang['VARIANT_DATE_SEPARATOR'] . $user->format_date(time(), $format, false) : ''); $dateformat_options .= '</option>'; } |