r51277 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51276‎ | r51277 | r51278 >
Date:11:00, 1 June 2009
Author:nikerabbit
Status:ok
Tags:
Comment:
Add proper dateformats too, bug 18308
Modified paths:
  • /trunk/phase3/languages/messages/MessagesOc.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/messages/MessagesOc.php
@@ -240,18 +240,18 @@
241241 'pagesize' => array( '1', 'TALHAPAGINA', 'PAGESIZE' ),
242242 );
243243
244 -$dateFormats = array(
245 - 'mdy time' => 'H:i',
246 - 'mdy date' => 'M j, Y',
247 - 'mdy both' => 'M j, Y "a" H:i',
 244+$datePreferences = array(
 245+ 'default',
 246+ 'oc normal',
 247+ 'ISO 8601',
 248+);
248249
249 - 'dmy time' => 'H:i',
250 - 'dmy date' => 'j M Y',
251 - 'dmy both' => 'j M Y "a" H:i',
 250+$defaultDateFormat = 'oc normal';
252251
253 - 'ymd time' => 'H:i',
254 - 'ymd date' => 'Y M j',
255 - 'ymd both' => 'Y M j "a" H:i',
 252+$dateFormats = array(
 253+ 'oc normal time' => 'H.i',
 254+ 'oc normal date' => 'j F "de" Y',
 255+ 'oc normal both' => 'j F "de" Y "a" H.i',
256256 );
257257
258258 $separatorTransformTable = array( ',' => "\xc2\xa0", '.' => ',' );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r51275Localisation updates for core messages from translatewiki.net...siebrand09:55, 1 June 2009

Status & tagging log