mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
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
This commit is contained in:
@@ -767,7 +767,7 @@ class acp_board
|
||||
foreach ($user->lang['dateformats'] as $format => $null)
|
||||
{
|
||||
$dateformat_options .= '<option value="' . $format . '"' . (($format == $value) ? ' 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>';
|
||||
}
|
||||
|
||||
|
@@ -1235,7 +1235,7 @@ class acp_users
|
||||
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>';
|
||||
}
|
||||
|
||||
|
@@ -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>';
|
||||
}
|
||||
|
||||
|
@@ -777,12 +777,12 @@ $lang = array_merge($lang, array(
|
||||
|
||||
// The value is only an example and will get replaced by the current time on view
|
||||
'dateformats' => array(
|
||||
'|d M Y|, H:i' => 'Today, 13:37 / 01 Jan 2007, 13:37',
|
||||
'd M Y, H:i' => '01 Jan 2007, 13:37',
|
||||
'd M Y H:i' => '01 Jan 2007 13:37',
|
||||
'M jS, \'y, H:i' => 'Jan 1st, \'07, 13:37',
|
||||
'D M d, Y g:i a' => 'Mon Jan 01, 2007 1:37 pm',
|
||||
'F jS, Y, g:i a' => 'January 1st, 2007, 1:37 pm',
|
||||
'|d M Y|, H:i' => 'Today, 13:37 / 01 Jan 2007, 13:37',
|
||||
'|F jS, Y|, g:i a' => 'Today, 1:37 pm / January 1st, 2007, 1:37 pm'
|
||||
),
|
||||
|
||||
|
@@ -10,7 +10,7 @@ If you want to view the newest post made since your last visit, click the follow
|
||||
If you want to view the topic, click the following link:
|
||||
{U_TOPIC}
|
||||
|
||||
If you no longer wish to watch this topic you can either click the "Stop watching this topic" link found at the bottom of the topic above, or by clicking the following link:
|
||||
If you no longer wish to watch this topic you can either click the "Unsubscribe topic" link found at the bottom of the topic above, or by clicking the following link:
|
||||
|
||||
{U_STOP_WATCHING_TOPIC}
|
||||
|
||||
|
Reference in New Issue
Block a user