r42178 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r42177‎ | r42178 | r42179 >
Date:20:38, 17 October 2008
Author:raymond
Status:old
Tags:
Comment:
* (bug 15605) Enabled $datePreferences for language 'hr'. Added standard date preferences.
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/languages/messages/MessagesHr.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/messages/MessagesHr.php
@@ -258,14 +258,32 @@
259259 'staticredirect' => array( '1', '__NEPOMIČNOPREUSMJERAVANJE__', '__STATICREDIRECT__' ),
260260 );
261261
262 -$datePreferences = false;
 262+$datePreferences = array(
 263+ 'default',
 264+ 'dmy hr',
 265+ 'mdy',
 266+ 'ymd',
 267+ 'ISO 8601',
 268+);
263269
264 -$defaultDateFormat = 'dmy';
 270+$defaultDateFormat = 'dmy hr';
265271
266272 $dateFormats = array(
267 - 'dmy time' => 'H:i',
268 - 'dmy date' => 'j. F Y.',
269 - 'dmy both' => 'H:i, j. F Y.',
 273+ 'dmy hr time' => 'H:i',
 274+ 'dmy hr date' => 'j. F Y.',
 275+ 'dmy hr both' => 'H:i, j. F Y.',
 276+
 277+ 'mdy time' => 'H:i',
 278+ 'mdy date' => 'F j, Y',
 279+ 'mdy both' => 'H:i, F j, Y',
 280+
 281+ 'ymd time' => 'H:i',
 282+ 'ymd date' => 'Y F j',
 283+ 'ymd both' => 'H:i, Y F j',
 284+
 285+ 'ISO 8601 time' => 'xnH:xni:xns',
 286+ 'ISO 8601 date' => 'xnY-xnm-xnd',
 287+ 'ISO 8601 both' => 'xnY-xnm-xnd"T"xnH:xni:xns',
270288 );
271289
272290 $separatorTransformTable = array(',' => '.', '.' => ',' );
Index: trunk/phase3/RELEASE-NOTES
@@ -269,6 +269,8 @@
270270 * Specify apple-touch-icon before favicon in HTML head section to make the Konqueror
271271 browser correctly use the latter
272272 * (bug 15717) Set $separatorTransformTable for language 'eu'
 273+* (bug 15605) Enabled $datePreferences for language 'hr'. Added standard date
 274+ preferences.
273275
274276 === API changes in 1.14 ===
275277

Status & tagging log