https://en.wikipedia.org/w/index.php?action=history&feed=atom&title=Module%3AYMD_to_ISO%2Fdoc Module:YMD to ISO/doc - Revision history 2025-06-03T20:39:12Z Revision history for this page on the wiki MediaWiki 1.45.0-wmf.3 https://en.wikipedia.org/w/index.php?title=Module:YMD_to_ISO/doc&diff=757924450&oldid=prev Zyxw: update 2017-01-02T14:22:12Z <p>update</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 14:22, 2 January 2017</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 1:</td> <td colspan="2" class="diff-lineno">Line 1:</td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>{{Documentation subpage}}</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>&lt;!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata --&gt;</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>&lt;!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata --&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> </table> Zyxw https://en.wikipedia.org/w/index.php?title=Module:YMD_to_ISO/doc&diff=757924390&oldid=prev Zyxw: update 2017-01-02T14:21:42Z <p>update</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 14:21, 2 January 2017</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 1:</td> <td colspan="2" class="diff-lineno">Line 1:</td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{Documentation subpage}}</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>{{Module rating |&lt;!-- Values: pre-alpha • alpha • beta • release • protected -- If a rating not needed/relevant, delete this template call --&gt;}}</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>&lt;!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata --&gt;</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>&lt;!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata --&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> </table> Zyxw https://en.wikipedia.org/w/index.php?title=Module:YMD_to_ISO/doc&diff=757924214&oldid=prev Zyxw: create 2017-01-02T14:20:17Z <p>create</p> <p><b>New page</b></p><div>{{Module rating |&lt;!-- Values: pre-alpha • alpha • beta • release • protected -- If a rating not needed/relevant, delete this template call --&gt;}}<br /> &lt;!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata --&gt;<br /> <br /> &#039;&#039;&#039;{{NAMESPACE}}:{{BASEPAGENAME}}&#039;&#039;&#039; converts a date in [[Calendar date#Gregorian, year-month-day (YMD)|YMD]] format (e.g. 2000 January 17) to [[ISO 8601]] format (e.g. 2000-01-17). Any input which is not a valid DMY date is passed through unchanged. This template is designed to [[wikt:preprocess|preprocess]] dates for use with the [[Help:Time function|#time]] parser function, which is unable to convert YMD dates, and for use with templates such as {{tl|Date}} or {{tl|ISO date}} which are implemented using the #time parser function.<br /> <br /> == Usage ==<br /> &lt;code&gt;&lt;nowiki&gt;{{&lt;/nowiki&gt;#invoke:{{BASEPAGENAME}} | main | &#039;&#039;&lt;date in YMD format&gt;&#039;&#039; }}&lt;/code&gt;<br /> <br /> or via template:<br /> <br /> &lt;code&gt;&lt;nowiki&gt;{{&lt;/nowiki&gt;{{BASEPAGENAME}} | &#039;&#039;&lt;date in YMD format&gt;&#039;&#039; }}&lt;/code&gt;<br /> <br /> == Examples ==<br /> &lt;code&gt;&lt;nowiki&gt;{{&lt;/nowiki&gt;#invoke:{{BASEPAGENAME}}&lt;nowiki&gt; | main | 2000 January 17 }}&lt;/nowiki&gt;&lt;/code&gt; → {{#invoke:{{BASEPAGENAME}} | main | 2000 January 17 }}<br /> <br /> or via template:<br /> <br /> &lt;code&gt;&lt;nowiki&gt;{{&lt;/nowiki&gt;{{BASEPAGENAME}}&lt;nowiki&gt; | 2000 January 17 }}&lt;/nowiki&gt;&lt;/code&gt; → {{{{BASEPAGENAME}} | 2000 January 17 }}<br /> <br /> For more examples, see [[Template:YMD to ISO]].<br /> <br /> == See also ==<br /> * [[Module:YMD to ISO/testcases]]<br /> * [[Help:Time function]]<br /> * {{Section link|mw:Help:Extension:ParserFunctions|#time}}<br /> <br /> &lt;includeonly&gt;{{#ifeq:{{SUBPAGENAME}}|sandbox | |<br /> &lt;!-- Categories below this line; interwikis at Wikidata --&gt;<br /> <br /> }}&lt;/includeonly&gt;</div> Zyxw