Template:ISOdate

From FlightGear wiki
Jump to navigation Jump to search


The following template description is not displayed when the template is inserted in an article.

Goal

This template is used for formatting date and time to the form YYYY-MM-DD hh:mm:ss or a subset.

Usage

{{ISOdate|date and time}}.

The mandatory parameter date and time can be in one of the following formats:

  • YYYY, for example 2021
  • YYYY-MM, for example 2021-09
  • YYYY-MM-DD, for example 2021-09-18
  • YYYY-MM-DD hh:mm, for example 2021-09-18 10:29
  • YYYY-MM-DD hh:mm:ss, for example 2021-09-18 10:29:29

Documentation issues

None of the named parameters are documented.

Related templates