r60578 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60577‎ | r60578 | r60579 >
Date:14:14, 3 January 2010
Author:siebrand
Status:ok (Comments)
Tags:
Comment:
Modified paths:
  • /trunk/phase3/languages/messages/MessagesGl.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/messages/MessagesGl.php
@@ -45,6 +45,14 @@
4646 'Conversa_Categoría' => NS_CATEGORY_TALK,
4747 );
4848
 49+$defaultDateFormat = 'dmy';
 50+
 51+$dateFormats = array(
 52+ 'dmy time' => 'H:i',
 53+ 'dmy date' => 'j \d\e F \d\e Y',
 54+ 'dmy both' => 'H:i \d\e j \d\e F \d\e Y',
 55+);
 56+
4957 $specialPageAliases = array(
5058 'DoubleRedirects' => array( 'Redireccións dobres' ),
5159 'BrokenRedirects' => array( 'Redireccións rotas' ),

Comments

#Comment by Tim Starling (talk | contribs)   01:17, 20 January 2010

Note that sprintfDate() supports double-quotes, which are somewhat more readable in cases like this than backslashes:

'dmy both' => 'H:i "de" j "de" F "de" Y',

I added that feature for cases like this.

Status & tagging log