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 2024
  • YYYY-MM, for example 2024-11
  • YYYY-MM-DD, for example 2024-11-04
  • YYYY-MM-DD hh:mm, for example 2024-11-04 06:31
  • YYYY-MM-DD hh:mm:ss, for example 2024-11-04 06:31:32

Documentation issues

None of the named parameters are documented.

Related templates