From: Raimond Spekking Date: Fri, 17 Oct 2008 20:38:26 +0000 (+0000) Subject: * (bug 15605) Enabled $datePreferences for language 'hr'. Added standard date prefere... X-Git-Tag: 1.31.0-rc.0~44712 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/One?a=commitdiff_plain;h=5231eecc1e075a90c151e897a6533a86fc8989f1;p=lhc%2Fweb%2Fwiklou.git * (bug 15605) Enabled $datePreferences for language 'hr'. Added standard date preferences. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 3b19d2e846..418d4a2827 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -269,6 +269,8 @@ The following extensions are migrated into MediaWiki 1.14: * Specify apple-touch-icon before favicon in HTML head section to make the Konqueror browser correctly use the latter * (bug 15717) Set $separatorTransformTable for language 'eu' +* (bug 15605) Enabled $datePreferences for language 'hr'. Added standard date + preferences. === API changes in 1.14 === diff --git a/languages/messages/MessagesHr.php b/languages/messages/MessagesHr.php index ff9ed0babe..6283241749 100644 --- a/languages/messages/MessagesHr.php +++ b/languages/messages/MessagesHr.php @@ -258,14 +258,32 @@ $magicWords = array( 'staticredirect' => array( '1', '__NEPOMIČNOPREUSMJERAVANJE__', '__STATICREDIRECT__' ), ); -$datePreferences = false; +$datePreferences = array( + 'default', + 'dmy hr', + 'mdy', + 'ymd', + 'ISO 8601', +); -$defaultDateFormat = 'dmy'; +$defaultDateFormat = 'dmy hr'; $dateFormats = array( - 'dmy time' => 'H:i', - 'dmy date' => 'j. F Y.', - 'dmy both' => 'H:i, j. F Y.', + 'dmy hr time' => 'H:i', + 'dmy hr date' => 'j. F Y.', + 'dmy hr both' => 'H:i, j. F Y.', + + 'mdy time' => 'H:i', + 'mdy date' => 'F j, Y', + 'mdy both' => 'H:i, F j, Y', + + 'ymd time' => 'H:i', + 'ymd date' => 'Y F j', + 'ymd both' => 'H:i, Y F j', + + 'ISO 8601 time' => 'xnH:xni:xns', + 'ISO 8601 date' => 'xnY-xnm-xnd', + 'ISO 8601 both' => 'xnY-xnm-xnd"T"xnH:xni:xns', ); $separatorTransformTable = array(',' => '.', '.' => ',' );