From 5231eecc1e075a90c151e897a6533a86fc8989f1 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Fri, 17 Oct 2008 20:38:26 +0000 Subject: [PATCH] * (bug 15605) Enabled $datePreferences for language 'hr'. Added standard date preferences. --- RELEASE-NOTES | 2 ++ languages/messages/MessagesHr.php | 28 +++++++++++++++++++++++----- 2 files changed, 25 insertions(+), 5 deletions(-) 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(',' => '.', '.' => ',' ); -- 2.20.1