Template:ISO date/doc
< Template:ISO date
Jump to navigation
Jump to search
Revision as of 23:16, 10 November 2008 by imported>Trödel (update documentation)
| File:Edit-copy green.svg | This is a documentation subpage for Template:ISO date. It contains usage information, categories and other content that is not part of the original template page. |
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