From: HakanIST Date: Wed, 9 Aug 2017 21:37:16 +0000 (-0400) Subject: Fix localization of time in Turkish X-Git-Tag: 1.31.0-rc.0~685^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=a965e0adf9cfc1e315c7dc6a8a64937b9d57899e Fix localization of time in Turkish Per the rules of the Turkish Language Institution [1], hours and minutes in time expressions should be separated by periods. [1]: http://tdk.gov.tr/index.php?option=com_content&view=article&id=187:Noktalama-Isaretleri-Aciklamalar&catid=50:yazm-kurallar&Itemid=132 Bug: T161961 Change-Id: I344cc500a780ff81f69e217c970a4a6aff288720 --- diff --git a/languages/messages/MessagesTr.php b/languages/messages/MessagesTr.php index 564da6cccd..565049d838 100644 --- a/languages/messages/MessagesTr.php +++ b/languages/messages/MessagesTr.php @@ -352,5 +352,14 @@ $magicWords = [ 'pagesincategory_files' => [ '0', 'dosyalar', 'files' ], ]; +$dateFormats = [ + 'mdy time' => 'H.i', + 'mdy both' => 'H.i, F j, Y', + 'dmy time' => 'H.i', + 'dmy both' => 'H.i, j F Y', + 'ymd time' => 'H.i', + 'ymd both' => 'H.i, Y F j', +]; + $separatorTransformTable = [ ',' => '.', '.' => ',' ]; $linkTrail = '/^([a-zÇĞçğİıÖöŞşÜüÂâÎîÛû]+)(.*)$/sDu';