Actually define jMY date format for Arab
authorFederico Leva <federicoleva@tiscali.it>
Thu, 12 Jun 2014 15:49:06 +0000 (17:49 +0200)
committerFederico Leva <federicoleva@tiscali.it>
Thu, 12 Jun 2014 15:51:58 +0000 (17:51 +0200)
Followup to I5d4a799b0 (10b6c22c45): testers failed to notice that
no new format was actually added to Special:Preferences.
Now it is and it's also used correctly e.g. in action=history
(verified by means of ctrl-c ctrl-f ctrl-v and {{#time:j M Y}}).

Bug: 65245
Change-Id: I70de62c859b9c637f989d68bc86e73113273aff8

languages/messages/MessagesAr.php

index b233831..dd9b06f 100644 (file)
@@ -79,6 +79,10 @@ $dateFormats = array(
        'ISO 8601 time' => 'xnH:xni:xns',
        'ISO 8601 date' => 'xnY-xnm-xnd',
        'ISO 8601 both' => 'xnY-xnm-xnd"T"xnH:xni:xns',
+
+       'jMY time' => 'H:i',
+       'jMY date' => 'j M Y',
+       'jMY both' => 'H:i، j M Y', # Arabic comma
 );
 
 $digitTransformTable = array(