* (bug 15605) Enabled $datePreferences for language 'hr'. Added standard date prefere...
authorRaimond Spekking <raymond@users.mediawiki.org>
Fri, 17 Oct 2008 20:38:26 +0000 (20:38 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Fri, 17 Oct 2008 20:38:26 +0000 (20:38 +0000)
RELEASE-NOTES
languages/messages/MessagesHr.php

index 3b19d2e..418d4a2 100644 (file)
@@ -269,6 +269,8 @@ The following extensions are migrated into MediaWiki 1.14:
 * Specify apple-touch-icon before favicon in HTML head section to make the Konqueror
   browser correctly use the latter
 * (bug 15717) Set $separatorTransformTable for language 'eu'
+* (bug 15605) Enabled $datePreferences for language 'hr'. Added standard date
+  preferences.
 
 === API changes in 1.14 ===
 
index ff9ed0b..6283241 100644 (file)
@@ -258,14 +258,32 @@ $magicWords = array(
        'staticredirect'        => array( '1', '__NEPOMIÄŒNOPREUSMJERAVANJE__', '__STATICREDIRECT__' ),
 );
 
-$datePreferences = false;
+$datePreferences = array(
+       'default',
+       'dmy hr',
+       'mdy',
+       'ymd',
+       'ISO 8601',
+);
 
-$defaultDateFormat = 'dmy';
+$defaultDateFormat = 'dmy hr';
 
 $dateFormats = array(
-       'dmy time' => 'H:i',
-       'dmy date' => 'j. F Y.',
-       'dmy both' => 'H:i, j. F Y.',
+       'dmy hr time' => 'H:i',
+       'dmy hr date' => 'j. F Y.',
+       'dmy hr both' => 'H:i, j. F Y.',
+
+       'mdy time' => 'H:i',
+       'mdy date' => 'F j, Y',
+       'mdy both' => 'H:i, F j, Y',
+
+       'ymd time' => 'H:i',
+       'ymd date' => 'Y F j',
+       'ymd both' => 'H:i, Y F j',
+
+       'ISO 8601 time' => 'xnH:xni:xns',
+       'ISO 8601 date' => 'xnY-xnm-xnd',
+       'ISO 8601 both' => 'xnY-xnm-xnd"T"xnH:xni:xns',
 );
 
 $separatorTransformTable = array(',' => '.', '.' => ',' );