Template:ISO date/doc

From blackwiki
< Template:ISO date
Revision as of 02:29, 11 November 2008 by imported>Trödel (fix up documentation)
Jump to navigation Jump to search

This template converts dates formatted as DD MMMM YYYY, MMMM YYYY to a date formatted as YYYY-MM-DD or YYYY-MM

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 - which must be unnamed. For example:

  • {{ISO date|15 January 2001}} returns 2001-01-15
  • {{ISO date|March 2003}} returns 2003-03

See also