Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
fee14197 | 3 | | CiviCRM version 5 | |
6a488035 | 4 | +--------------------------------------------------------------------+ |
6b83d5bd | 5 | | Copyright CiviCRM LLC (c) 2004-2019 | |
6a488035 TO |
6 | +--------------------------------------------------------------------+ |
7 | | This file is a part of CiviCRM. | | |
8 | | | | |
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. | | |
12 | | | | |
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. | | |
17 | | | | |
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 | +--------------------------------------------------------------------+ | |
25 | *} | |
26 | {htxt id='date-format-title'} | |
27 | {ts}Date Display Formats{/ts} | |
28 | {/htxt} | |
29 | {htxt id='date-format'} | |
30 | <p>{ts}Use this screen to configure formats for date display and date input fields. Defaults are provided for standard United States formats. Settings use standard POSIX specifiers. Available specifiers and the values produced will vary based on your operating system and locale.{/ts}</p> | |
31 | <p><strong>{ts}Commonly Used Specifiers{/ts}</strong></p> | |
32 | <ul> | |
33 | <li>%b - {ts}abbreviated month name ('Jan'..'Dec'){/ts}</li> | |
34 | <li>%B - {ts}full month name ('January'..'December'){/ts}</li> | |
35 | <li>%d - {ts}day of the month as a decimal number, 0-padded ('01'..'31'){/ts}</li> | |
36 | <li>%e - {ts}day of the month as a decimal number, blank-padded (' 1'..'31'){/ts}</li> | |
37 | <li>%E - {ts}day of the month as a decimal number ('1'..'31'){/ts}</li> | |
38 | <li>%f - {ts}English ordinal suffix for the day of the month ('st', 'nd', 'rd', 'th'){/ts}</li> | |
39 | <li>%H - {ts}hour in 24-hour format, 0-padded ('00'..'23'){/ts}</li> | |
40 | <li>%I - {ts}hour in 12-hour format, 0-padded ('01'..'12'){/ts}</li> | |
41 | <li>%k - {ts}hour in 24-hour format, blank-padded (' 0'..'23'){/ts}</li> | |
42 | <li>%l - {ts}hour in 12-hour format, blank-padded (' 1'..'12'){/ts}</li> | |
43 | <li>%m - {ts}month as a decimal number, 0-padded ('01'..'12'){/ts}</li> | |
44 | <li>%M - {ts}minute, 0-padded ('00'..'60'){/ts}</li> | |
45 | <li>%p - {ts}lowercase ante/post meridiem ('am', 'pm'){/ts}</li> | |
46 | <li>%P - {ts}uppercase ante/post meridiem ('AM', 'PM'){/ts}</li> | |
47 | <li>%Y - {ts}year as a decimal number including the century ('2015'){/ts}</li> | |
48 | </ul> | |
49 | {/htxt} |