Wiki source code of Set the Date Format
Last modified by Eleni Cojocariu on 2026/09/15 17:02
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | Dates in the interface are displayed with a Java [[SimpleDateFormat>>https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/text/SimpleDateFormat.html]] pattern, set in the administration of the [[Wiki>>doc:documentation.xs.user.base.wikis.WebHome]]. The default pattern is ##yyyy/MM/dd HH:mm##. | ||
| 2 | |||
| 3 | 1. [[Administer the Wiki>>doc:documentation.xs.admin.base.content-organization.administer-wiki.WebHome]]. | ||
| 4 | 1. Select "Content", and then select "Localization" from the dropdown. | ||
| 5 | 1. Enter the pattern you want in the "Date format" field of the "Date / Time" section, and click "Save":((( | ||
| 6 | |=Format|=Result | ||
| 7 | |##MMMM dd, HH:mm##|September 07, 12:27 | ||
| 8 | |##yyyy/MM/dd, HH:mm##|2026/09/07, 12:27 | ||
| 9 | |##dd/MM/yyyy, HH:mm##|07/09/2026, 12:27 | ||
| 10 | |||
| 11 | {{image reference="date-format-field.png" size="large" alt="The Date format field in the Date / Time section of the Localization administration"/}} | ||
| 12 | ))) | ||
| 13 | 1. Open any page and check the modification date in its footer, now displayed in the new format:((( | ||
| 14 | {{image reference="date-format-result.png" size="large" alt="The modification date of a page displayed in the new format"/}} | ||
| 15 | ))) |