How to set date format for XWiki?
By default, XWiki displays dates (creation and modification) in the format: 2023/12/28 12:31 (example using a page's creation date from my XWiki).
If you prefer a more detailed or readable format, you can customize it in: Administer XWiki → Content → Localization → Date / Time → Date Format
For instance, using the mask EEE MMM dd yyyy
where EEE - short day of the week (e.g., Thu). For the full version, use EEEE;
MMM - short month name (Dec). For the full version, use MMMM;
dd - day of the month;
yyyy - year.
This will change the date representation to: Thu Dec 28 2023
You can also use other formats, such as:
- EEEE, dd MMM yyyy hh:mm a will be represented as Thursday, 28 Dec 2023 12:30 PM
- EEEE, yyyy/MMM/dd hh:mm z will be represented as Thursday, 2023/Dec/28 12:30 EET
Note: If your XWiki is multilingual, the date representation may vary. For instance, some languages display the short day of the week in lowercase.