mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-13 03:54:57 +01:00
Changed the example date from 2005-01-10T17:57Z to 2007-01-01T13:37Z to better illustrate the difference between "d" and "j" in the PHP date(). Also, since phpBB's language files tend towards formal, using "jS" (for 1st, 2nd, 3rd, etc) as opposed to just "s".
Translators should pick whatever appropiate set of date format codes for their own locale, since PHP* doesn't offer any number ordinal suffixes apart from English. :( * PHP6.x probably will/could, though that's a long way of from being the _minimum_ required version for any current PHP app. git-svn-id: file:///svn/phpbb/trunk@6874 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
d46d56f956
commit
2c4d3771ff
@ -35,7 +35,7 @@ $lang = array_merge($lang, array(
|
||||
'DIRECTION' => 'ltr',
|
||||
'LEFT' => 'left',
|
||||
'RIGHT' => 'right',
|
||||
'DATE_FORMAT' => '|d M Y|',
|
||||
'DATE_FORMAT' => '|d M Y|', // 01 Jan 2007 (with Relative days enabled)
|
||||
'USER_LANG' => 'en-gb',
|
||||
|
||||
'1_DAY' => '1 day',
|
||||
@ -764,17 +764,17 @@ $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' => '10 Jan 2005 17:54 [Relative days]',
|
||||
'd M Y, H:i' => '10 Jan 2005, 17:57',
|
||||
'd M Y H:i' => '10 Jan 2005 17:57',
|
||||
'D M d, Y g:i a' => 'Mon Jan 10, 2005 5:57 pm',
|
||||
'M j, y, H:i' => 'Jan 10, 05, 5:57 pm',
|
||||
'F j, Y, g:i a' => 'January 10, 2005, 5:57 pm'
|
||||
'|d M Y| H:i' => '01 Jan 2007 13:37 [Relative days]',
|
||||
'd M Y, H:i' => '01 Jan 2007, 13:37',
|
||||
'd M Y H:i' => '01 Jan 2007 13:37',
|
||||
'D M d, Y g:i a' => 'Mon Jan 01, 2007 1:37 pm',
|
||||
'M jS, y, H:i' => 'Jan 1st, 07, 1:37 pm',
|
||||
'F jS, Y, g:i a' => 'January 1st, 2007, 1:37 pm'
|
||||
),
|
||||
|
||||
// The default dateformat which will be used on new installs in this language
|
||||
// Translators should change this if a the usual date format is different
|
||||
'default_dateformat' => 'D M d, Y g:i a', // Mon Jan 10, 2005 5:57 pm
|
||||
'default_dateformat' => 'D M d, Y g:i a', // Mon Jan 01, 2007 1:37 pm
|
||||
|
||||
));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user