From 9277b87471fa522421ff80847776ea9877be3b78 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Mon, 17 Aug 2015 17:04:43 -0700 Subject: [PATCH] CRM-16373 - Config - Declare settings for dateformatTime, dateformatYear --- settings/Localization.setting.php | 42 +++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/settings/Localization.setting.php b/settings/Localization.setting.php index d3ad1814a8..dfd760bdfd 100644 --- a/settings/Localization.setting.php +++ b/settings/Localization.setting.php @@ -280,6 +280,48 @@ return array( 'description' => '', 'help_text' => NULL, ), + 'dateformatTime' => array( + 'add' => '4.7', + 'prefetch' => 1, + 'config_only' => 1, + 'help_text' => NULL, + 'is_domain' => 1, + 'is_contact' => 0, + 'group_name' => 'Localization Preferences', + 'group' => 'localization', + 'name' => 'dateformatTime', + 'type' => 'String', + 'quick_form_type' => 'Element', + 'html_type' => 'text', + 'html_attributes' => array( + 'size' => '12', + 'maxlength' => '60', + ), + 'default' => '%l:%M %P', + 'title' => 'Date Format: Time Only', + 'description' => '', + ), + 'dateformatYear' => array( + 'add' => '4.7', + 'prefetch' => 1, + 'config_only' => 1, + 'help_text' => NULL, + 'is_domain' => 1, + 'is_contact' => 0, + 'group_name' => 'Localization Preferences', + 'group' => 'localization', + 'name' => 'dateformatYear', + 'type' => 'String', + 'quick_form_type' => 'Element', + 'html_type' => 'text', + 'html_attributes' => array( + 'size' => '12', + 'maxlength' => '60', + ), + 'default' => '%Y', + 'title' => 'Date Format: Year Only', + 'description' => '', + ), 'fieldSeparator' => array( 'add' => '4.7', 'prefetch' => 1, -- 2.25.1