Manual:Date formatting

File DateFormatter.php processes dates according the preferences set by the user (controlled by Manual:SpecialPreferences.php).

Array $datePreferences contains a list of IDs of date formatting options. It is defined in the message file of each language. For English they are:
 * default
 * mdy
 * dmy
 * ymd
 * numerical yyyy-mm-dd (like ISO 8601, but without calendar conversions, and without implying that it is the date according to the Gregorian calendar)

In Special:Preferences the options are listed accordingly, in the same order. For "default" the message MediaWiki:Datedefault is shown, for the other options the example January 15, 2001.

The user-specified date format does not seem to work on this wiki for links (!), see Help:Preferences. It works in Recent Changes etc.

See also:
 * m:Help:Preferences
 * m:Help:Date formatting and linking
 * ParserFunctions