From: Federico Leva Date: Thu, 12 Jun 2014 15:49:06 +0000 (+0200) Subject: Actually define jMY date format for Arab X-Git-Tag: 1.31.0-rc.0~15338^2 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=d87160060f60862b599198e18dbbcd55cd75428c;p=lhc%2Fweb%2Fwiklou.git Actually define jMY date format for Arab 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 --- diff --git a/languages/messages/MessagesAr.php b/languages/messages/MessagesAr.php index b233831c6b..dd9b06f020 100644 --- a/languages/messages/MessagesAr.php +++ b/languages/messages/MessagesAr.php @@ -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(