"thu": "Ce",
"fri": "Pk",
"sat": "Se",
- "january": "janvārī,",
- "february": "februārī,",
- "march": "martā,",
- "april": "aprīlī,",
- "may_long": "maijā,",
- "june": "jūnijā,",
- "july": "jūlijā,",
- "august": "augustā,",
- "september": "septembrī,",
- "october": "oktobrī,",
- "november": "novembrī,",
- "december": "decembrī,",
- "january-gen": "Janvāra",
- "february-gen": "Februāra",
- "march-gen": "Marta",
- "april-gen": "Aprīļa",
- "may-gen": "Maija",
- "june-gen": "Jūnija",
- "july-gen": "Jūlija",
- "august-gen": "Augusta",
- "september-gen": "Septembra",
- "october-gen": "Oktobra",
- "november-gen": "Novembra",
- "december-gen": "Decembra",
- "jan": "janvārī,",
- "feb": "februārī,",
- "mar": "martā,",
- "apr": "aprīlī,",
- "may": "maijā,",
- "jun": "jūnijā,",
- "jul": "jūlijā,",
- "aug": "augustā,",
- "sep": "septembrī,",
- "oct": "oktobrī,",
- "nov": "novembrī,",
- "dec": "decembrī,",
+ "january": "janvāris",
+ "february": "februāris",
+ "march": "marts",
+ "april": "aprīlis",
+ "may_long": "maijs",
+ "june": "jūnijs",
+ "july": "jūlijs",
+ "august": "augusts",
+ "september": "septembris",
+ "october": "oktobris",
+ "november": "novembris",
+ "december": "decembris",
+ "january-gen": "janvāra",
+ "february-gen": "februāra",
+ "march-gen": "marta",
+ "april-gen": "aprīļa",
+ "may-gen": "maija",
+ "june-gen": "jūnija",
+ "july-gen": "jūlija",
+ "august-gen": "augusta",
+ "september-gen": "septembra",
+ "october-gen": "oktobra",
+ "november-gen": "novembra",
+ "december-gen": "decembra",
+ "jan": "janvāris",
+ "feb": "februāris",
+ "mar": "marts",
+ "apr": "aprīlis",
+ "may": "maijs",
+ "jun": "jūnijs",
+ "jul": "jūlijs",
+ "aug": "augusts",
+ "sep": "septembris",
+ "oct": "oktobris",
+ "nov": "novembris",
+ "dec": "decembris",
"january-date": "$1. janvāris",
"february-date": "$1. februāris",
"march-date": "$1. marts",
);
$separatorTransformTable = array( ',' => "\xc2\xa0", '.' => ',' );
+/**
+ * A list of date format preference keys, which can be selected in user
+ * preferences. New preference keys can be added, provided they are supported
+ * by the language class's timeanddate(). Only the 5 keys listed below are
+ * supported by the wikitext converter (parser/DateFormatter.php).
+ *
+ * The special key "default" is an alias for either dmy or mdy depending on
+ * $wgAmericanDates
+ */
+$datePreferences = array(
+ 'default',
+ 'ydm',
+ 'mdy',
+ 'dmy',
+ 'ymd',
+ '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 = 'ydm';
+
+/**
+ * Associative array mapping old numeric date formats, which may still be
+ * stored in user preferences, to the new string formats.
+ */
+$datePreferenceMigrationMap = array(
+ 'default',
+ 'mdy',
+ 'dmy',
+ 'ymd'
+);
+
+/**
+ * These are formats for dates generated by MediaWiki (as opposed to the wikitext
+ * DateFormatter). Documentation for the format string can be found in
+ * Language.php, search for sprintfDate.
+ *
+ * This array is automatically inherited by all subclasses. Individual keys can be
+ * overridden.
+ */
+$dateFormats = array(
+ 'ydm time' => 'H.i',
+ 'ydm date' => 'Y". gada" j. F',
+ 'ydm monthonly' => 'Y". gada" F',
+ 'ydm both' => 'Y". gada" j. F", plkst." H.i',
+ 'ydm pretty' => 'j F',
+
+ 'mdy time' => 'H:i',
+ 'mdy date' => 'F j, Y',
+ 'mdy monthonly' => 'F Y',
+ 'mdy both' => 'H:i, F j, Y',
+ 'mdy pretty' => 'F j',
+
+ 'dmy time' => 'H:i',
+ 'dmy date' => 'j F Y',
+ 'dmy monthonly' => 'F Y',
+ 'dmy both' => 'H:i, j F Y',
+ 'dmy pretty' => 'j F',
+
+ 'ymd time' => 'H:i',
+ 'ymd date' => 'Y F j',
+ 'ymd monthonly' => 'Y F',
+ 'ymd both' => 'H:i, Y F j',
+ 'ymd pretty' => 'F j',
+
+ 'ISO 8601 time' => 'xnH:xni:xns',
+ 'ISO 8601 date' => 'xnY-xnm-xnd',
+ 'ISO 8601 monthonly' => 'xnY-xnm',
+ 'ISO 8601 both' => 'xnY-xnm-xnd"T"xnH:xni:xns',
+ 'ISO 8601 pretty' => 'xnm-xnd'
+);