Template:ISO date/doc

From blackwiki
< Template:ISO date
Revision as of 23:16, 10 November 2008 by imported>Trödel (update documentation)
Jump to navigation Jump to search

This template converts dates formatted as DD MMMM YYYY and as MMMM DD, YYYY to the correct ISO format for use in tables that are expected to be sortable by date

Usage

This template only converts dates formated in one of these formats to an ISO date (a generalized version exists in the history but it will not work consistently because of the number of #time codes used in the calling template.

Designed and used for Comparison of temples of The Church of Jesus Christ of Latter-day Saints until it can be generalized

The template accepts one parameter - either named or unnamed. For example:

  • {{ISO date|15 January 2001}} returns 2001-01-15
  • {{ISO date|date = 10 January 2001}} returns 2026-01-16

See also