Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Template:ISOdate

From FlightGear wiki
Jump to: navigation, 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 2019
  • YYYY-MM, for example 2019-10
  • YYYY-MM-DD, for example 2019-10-14
  • YYYY-MM-DD hh:mm, for example 2019-10-14 05:42
  • YYYY-MM-DD hh:mm:ss, for example 2019-10-14 05:42:40

Documentation issues

None of the named parameters are documented.

Related templates