Mr. Johnson (talk | contribs) (Created page with "<includeonly>Category:Time Template</includeonly> {{Template|LongTime}} is used to format text strings into a common date-and-day format. In truth, it should be called LongDate, but me love you long time. ==Usage== It has one {{Parameter|mandatory|string}}, the date to be processed. The built-in MediaWiki functions it relies on should be fairly robust, but the preferred format is: {{Code|yyyy/mm/dd}}. ==Return== {{Code|<nowiki>{{LongTime|1979/11/05}}</nowiki>}} retur...") |
(No difference)
|
Revision as of 20:07, 19 November 2023
Template:LongTime
is used to format text strings into a common date-and-day format. In truth, it should be called LongDate, but me love you long time.
Usage
It has one mandatory string parameter, the date to be processed. The built-in MediaWiki functions it relies on should be fairly robust, but the preferred format is: yyyy/mm/dd
.
Return
{{LongTime|1979/11/05}}
returns:
Monday, November 5, 1979
{{LongTime|{{:Game Date}}}}
returns:
Error: Invalid time.