Template:Date

From railML 3 Wiki
Revision as of 15:20, 16 April 2020 by RailML Coord Documentation (talk | contribs) (1 revision imported: Ergänzungen aus wiki2)
Jump to navigation Jump to search

Usage

This template parses a date of shape yyyy-mm-dd into spoken language like March 18th 1975

Parameters

The template hase one obligatory unnamed parameter:

  • 1: a date of shape yyyy-mm-dd

Examples

Code Result
{{date|1900-01-01}} January 1st 1900
{{date|2025-11-22}} November 22nd 2025
{{date|2019-02-31}} February 31st 2019 (rubbish in→rubbish out ;)