Overwatch Wiki
(Fix spelling on Function templates category)
(Add error handling)
 
Line 1: Line 1:
<includeonly>{{#time:Y-m-d|{{#replace:{{{1}}}|Patch}}}}</includeonly><noinclude>
+
<includeonly>{{#iferror:{{#time:Y-m-d|{{#replace:{{{1}}}|Patch}}}}|}}</includeonly><noinclude>
 
{{doc}}
 
{{doc}}
 
[[Category:Function templates]]
 
[[Category:Function templates]]

Latest revision as of 19:56, 24 April 2020

Template-info.png Documentation

Examples

Input Output
February 28, 2017 Patch 2017-02-28
February 28, 2017 2017-02-28
Feb 28 2017 2017-02-28
This isn't a date


Given a patch name, returns the ISO 8601 date of the patch.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Patch date1

no description

Example
February 28, 2017 Patch
Stringrequired