2 +--------------------------------------------------------------------+
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2020 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
9 | CiviCRM is free software; you can copy, modify, and distribute it |
10 | under the terms of the GNU Affero General Public License |
11 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
13 | CiviCRM is distributed in the hope that it will be useful, but |
14 | WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
16 | See the GNU Affero General Public License for more details. |
18 | You should have received a copy of the GNU Affero General Public |
19 | License and the CiviCRM Licensing Exception along |
20 | with this program; if not, contact CiviCRM LLC |
21 | at info[AT]civicrm[DOT]org. If you have questions about the |
22 | GNU Affero General Public License or the licensing of CiviCRM, |
23 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
24 +--------------------------------------------------------------------+
27 {capture assign=crmURL}{crmURL p='civicrm/admin/setting/preferences/date' q='action=reset=1'}{/capture}
28 {ts 1=$crmURL}Use this screen to configure default formats for date display and date input fields throughout your site. Settings use standard POSIX specifiers. New installations are preconfigured with standard United States formats. You can override this default setting and define the range of allowed dates for specific field types at <a href="%1">Administer > Customize Data and Screens > Date Preferences</a>{/ts} {help id='date-format'}
30 <div class="crm-block crm-form-block crm-date-form-block">
31 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
32 <fieldset><legend>{ts}Date Display{/ts}</legend>
33 <table class="form-layout-compressed">
34 <tr class="crm-date-form-block-dateformatDatetime">
35 <td class="label">{$form.dateformatDatetime.label}</td>
36 <td>{$form.dateformatDatetime.html}</td>
38 <tr class="crm-date-form-block-dateformatFull">
39 <td class="label">{$form.dateformatFull.label}</td>
40 <td>{$form.dateformatFull.html}</td>
42 <tr class="crm-date-form-block-dateformatPartial">
43 <td class="label">{$form.dateformatPartial.label}</td>
44 <td>{$form.dateformatPartial.html}</td>
46 <tr class="crm-date-form-block-dateformatYear">
47 <td class="label">{$form.dateformatYear.label}</td>
48 <td>{$form.dateformatYear.html}</td>
50 <tr class="crm-date-form-block-dateformatTime">
51 <td class="label">{$form.dateformatTime.label}</td>
52 <td>{$form.dateformatTime.html}</td>
54 <tr class="crm-date-form-block-dateformatTime">
55 <td class="label">{$form.dateformatFinancialBatch.label}</td>
56 <td>{$form.dateformatFinancialBatch.html}</td>
58 <tr class="crm-date-form-block-dateformatTime">
59 <td class="label">{$form.dateformatshortdate.label}</td>
60 <td>{$form.dateformatshortdate.html}</td>
64 <fieldset><legend>{ts}Date Input Fields{/ts}</legend>
65 <table class="form-layout-compressed">
66 <tr class="crm-date-form-block-dateInputFormat">
67 <td class="label">{$form.dateInputFormat.label}</td>
68 <td>{$form.dateInputFormat.html}</td>
70 <tr class="crm-date-form-block-timeInputFormat">
71 <td class="label">{$form.timeInputFormat.label}</td>
72 <td>{$form.timeInputFormat.html}</td>
76 <fieldset><legend>{ts}Calendar{/ts}</legend>
77 <table class="form-layout-compressed">
78 <tr class="crm-date-form-block-weekBegins">
79 <td class="label">{$form.weekBegins.label}</td>
80 <td>{$form.weekBegins.html}</td>
82 <tr class="crm-date-form-block-fiscalYearStart">
83 <td class="label">{$form.fiscalYearStart.label}</td>
84 <td>{$form.fiscalYearStart.html}</td>
88 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
89 <div class="spacer"></div>