* (bug 10333) Correct date format in Slovenian
authorRaimond Spekking <raymond@users.mediawiki.org>
Mon, 25 Jun 2007 19:24:40 +0000 (19:24 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Mon, 25 Jun 2007 19:24:40 +0000 (19:24 +0000)
RELEASE-NOTES
languages/messages/MessagesSl.php

index 6da070f..18eca46 100644 (file)
@@ -202,6 +202,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   overlong key errors.
 * Fixed zero-padding issues with MySQL 5 binary schema
 * (bug 10344) Don't follow a redirect after changing its protection level
+* (bug 10333) Correct date format in Slovenian
 
 == API changes since 1.10 ==
 
@@ -279,6 +280,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * Romanian (ro)
 * Russian (ru)
 * Slovak (sk)
+* Slovenian (sl)
 * Shona (sn)
 * Somali (so)
 * Albanian (sq)
index dfdb398..5c23c1b 100644 (file)
@@ -37,7 +37,31 @@ $namespaceNames = array(
        NS_CATEGORY_TALK  => 'Pogovor_o_kategoriji'
 );
 
-$datePreferences = false;
+$datePreferences = array(
+       'default',
+       'dmy short',
+       'dmy full',
+       'ISO 8601',
+);
+
+/**
+ * The date format to use for generated dates in the user interface.
+ * This may be one of the above date preferences, or the special value
+ * "dmy or mdy", which uses mdy if $wgAmericanDates is true, and dmy
+ * if $wgAmericanDates is false.
+ */
+$defaultDateFormat = 'dmy full';
+
+$dateFormats = array(
+       'dmy short time' => 'H:i',
+       'dmy short date' => 'j. F Y',
+       'dmy short both' => 'H:i, j. M Y',
+
+       'dmy full time' => 'H:i',
+       'dmy full date' => 'j. F Y',
+       'dmy full both' => 'H:i, j. F Y',
+);
+
 $fallback8bitEncoding = "iso-8859-2";
 $separatorTransformTable = array(',' => '.', '.' => ',' );