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-04
  • YYYY-MM-DD, for example 2024-04-19
  • YYYY-MM-DD hh:mm, for example 2024-04-19 10:13
  • YYYY-MM-DD hh:mm:ss, for example 2024-04-19 10:13:21

Documentation issues

None of the named parameters are documented.

Related templates