<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://dogcraft.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AYMD_to_ISO%2Fdoc</id>
	<title>Template:YMD to ISO/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://dogcraft.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AYMD_to_ISO%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://dogcraft.net/wiki/index.php?title=Template:YMD_to_ISO/doc&amp;action=history"/>
	<updated>2026-05-21T07:57:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.2</generator>
	<entry>
		<id>https://dogcraft.net/wiki/index.php?title=Template:YMD_to_ISO/doc&amp;diff=33794&amp;oldid=prev</id>
		<title>Domino at 13:20, 4 December 2023</title>
		<link rel="alternate" type="text/html" href="https://dogcraft.net/wiki/index.php?title=Template:YMD_to_ISO/doc&amp;diff=33794&amp;oldid=prev"/>
		<updated>2023-12-04T13:20:48Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:20, 4 December 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l50&quot;&gt;Line 50:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 50:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&amp;lt;!-- Categories below this line --&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&amp;lt;!-- Categories below this line --&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;}}&amp;lt;/includeonly&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Tool templates]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Domino</name></author>
	</entry>
	<entry>
		<id>https://dogcraft.net/wiki/index.php?title=Template:YMD_to_ISO/doc&amp;diff=33354&amp;oldid=prev</id>
		<title>Domino: Text replacement - &quot;{{tl|&quot; to &quot;{{template link|&quot;</title>
		<link rel="alternate" type="text/html" href="https://dogcraft.net/wiki/index.php?title=Template:YMD_to_ISO/doc&amp;diff=33354&amp;oldid=prev"/>
		<updated>2023-12-03T23:06:57Z</updated>

		<summary type="html">&lt;p&gt;Text replacement - &amp;quot;{{tl|&amp;quot; to &amp;quot;{{template link|&amp;quot;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:06, 3 December 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;{{Lua|Module:YMD to ISO}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;{{Lua|Module:YMD to ISO}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;'''{{NAMESPACE}}:{{BASEPAGENAME}}''' 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 {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;tl&lt;/del&gt;|Date}} or {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;tl&lt;/del&gt;|ISO date}} which are implemented using the #time parser function.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;'''{{NAMESPACE}}:{{BASEPAGENAME}}''' 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 {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;template link&lt;/ins&gt;|Date}} or {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;template link&lt;/ins&gt;|ISO date}} which are implemented using the #time parser function.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;== Usage ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;== Usage ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l32&quot;&gt;Line 32:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 32:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;* without {{Braces|{{BASEPAGENAME}}}}: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#time: r|2000 January 17}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{#time: r|2000 January 17}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;* without {{Braces|{{BASEPAGENAME}}}}: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#time: r|2000 January 17}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{#time: r|2000 January 17}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;With the {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;tl&lt;/del&gt;|Date}} template:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;With the {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;template link&lt;/ins&gt;|Date}} template:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Date|{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}&amp;lt;nowiki&amp;gt;|2000 January 17}}|dmy}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{Date|{{{{BASEPAGENAME}}|2000 January 17}}|dmy}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Date|{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}&amp;lt;nowiki&amp;gt;|2000 January 17}}|dmy}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{Date|{{{{BASEPAGENAME}}|2000 January 17}}|dmy}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;* without {{Braces|{{BASEPAGENAME}}}}: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Date|2000 January 17|dmy}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{Date|2000 January 17|dmy}} ''(not converted to dmy)''&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;* without {{Braces|{{BASEPAGENAME}}}}: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Date|2000 January 17|dmy}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{Date|2000 January 17|dmy}} ''(not converted to dmy)''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;With the {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;tl&lt;/del&gt;|ISO date}} template:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;With the {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;template link&lt;/ins&gt;|ISO date}} template:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{ISO date|{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}&amp;lt;nowiki&amp;gt;|2000 January 17}}|dmy}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{ISO date|{{{{BASEPAGENAME}}|2000 January 17}}|dmy}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{ISO date|{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}&amp;lt;nowiki&amp;gt;|2000 January 17}}|dmy}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{ISO date|{{{{BASEPAGENAME}}|2000 January 17}}|dmy}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;* without {{Braces|{{BASEPAGENAME}}}}: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{ISO date|2000 January 17|dmy}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{ISO date|2000 January 17|dmy}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;* without {{Braces|{{BASEPAGENAME}}}}: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{ISO date|2000 January 17|dmy}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{ISO date|2000 January 17|dmy}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Domino</name></author>
	</entry>
	<entry>
		<id>https://dogcraft.net/wiki/index.php?title=Template:YMD_to_ISO/doc&amp;diff=24416&amp;oldid=prev</id>
		<title>Domino: from wikipedia (https://en.wikipedia.org/w/index.php?title=Template:YMD_to_ISO/doc)</title>
		<link rel="alternate" type="text/html" href="https://dogcraft.net/wiki/index.php?title=Template:YMD_to_ISO/doc&amp;diff=24416&amp;oldid=prev"/>
		<updated>2022-04-04T20:43:49Z</updated>

		<summary type="html">&lt;p&gt;from wikipedia (https://en.wikipedia.org/w/index.php?title=Template:YMD_to_ISO/doc)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- Place categories where indicated at the bottom of this page. --&amp;gt;&lt;br /&gt;
{{Lua|Module:YMD to ISO}}&lt;br /&gt;
&lt;br /&gt;
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' 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.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}} | ''&amp;lt;date in YMD format&amp;gt;'' }}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
=== Full month names ===&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}&amp;lt;nowiki&amp;gt;| 2000 January 17 }}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{{{BASEPAGENAME}}| 2000 January 17 }}&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}&amp;lt;nowiki&amp;gt;|2000 February 29}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{{{BASEPAGENAME}}|2000 February 29}}&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}&amp;lt;nowiki&amp;gt;|2001 February 28}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{{{BASEPAGENAME}}|2001 February 28}}&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}&amp;lt;nowiki&amp;gt;|2000 december 17}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{{{BASEPAGENAME}}|2000 december 17}}&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}&amp;lt;nowiki&amp;gt;|2000 DECEMBER 17}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{{{BASEPAGENAME}}|2000 DECEMBER 17}}&lt;br /&gt;
&lt;br /&gt;
=== Abbreviated month names ===&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}&amp;lt;nowiki&amp;gt;|2000 Sep 1}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{{{BASEPAGENAME}}|2000 Sep 1}}&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}&amp;lt;nowiki&amp;gt;|2000 Sept 1}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{{{BASEPAGENAME}}|2000 Sept 1}}&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}&amp;lt;nowiki&amp;gt;|2000 Sept. 1}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{{{BASEPAGENAME}}|2000 Sept. 1}}&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}&amp;lt;nowiki&amp;gt;|2000 dec 1}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{{{BASEPAGENAME}}|2000 dec 1}}&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}&amp;lt;nowiki&amp;gt;|2000 DEC. 1}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{{{BASEPAGENAME}}|2000 DEC. 1}}&lt;br /&gt;
&lt;br /&gt;
=== Dates in other formats (unchanged) ===&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}&amp;lt;nowiki&amp;gt;|1 December 2000}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{{{BASEPAGENAME}}|1 December 2000}}&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}&amp;lt;nowiki&amp;gt;|December 1, 2000}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{{{BASEPAGENAME}}|December 1, 2000}}&lt;br /&gt;
&lt;br /&gt;
=== Used as input ===&lt;br /&gt;
With the {{[[Help:Time function|#time]]}} parser function:&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#time: r|{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}&amp;lt;nowiki&amp;gt;|2000 January 17}}}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{#time: r|{{{{BASEPAGENAME}}|2000 January 17}}}}&lt;br /&gt;
* without {{Braces|{{BASEPAGENAME}}}}: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#time: r|2000 January 17}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{#time: r|2000 January 17}}&lt;br /&gt;
&lt;br /&gt;
With the {{tl|Date}} template:&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Date|{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}&amp;lt;nowiki&amp;gt;|2000 January 17}}|dmy}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{Date|{{{{BASEPAGENAME}}|2000 January 17}}|dmy}}&lt;br /&gt;
* without {{Braces|{{BASEPAGENAME}}}}: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Date|2000 January 17|dmy}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{Date|2000 January 17|dmy}} ''(not converted to dmy)''&lt;br /&gt;
&lt;br /&gt;
With the {{tl|ISO date}} template:&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{ISO date|{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}&amp;lt;nowiki&amp;gt;|2000 January 17}}|dmy}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{ISO date|{{{{BASEPAGENAME}}|2000 January 17}}|dmy}}&lt;br /&gt;
* without {{Braces|{{BASEPAGENAME}}}}: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{ISO date|2000 January 17|dmy}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{ISO date|2000 January 17|dmy}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Template:YMD to ISO/testcases]]&lt;br /&gt;
* [[Help:Time function]]&lt;br /&gt;
* {{Section link|mw:Help:Extension:ParserFunctions|#time}}&lt;br /&gt;
&lt;br /&gt;
{{Hidden|Date and time templates|{{Date and time templates}}|style=border:1px solid gray;|headerstyle=background-color:lightsteelblue; text-align:left; padding-left:2em;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Domino</name></author>
	</entry>
</feed>