<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>http://rosma.co.uk/mw/oba/index.php?action=history&amp;feed=atom&amp;title=Template%3ADate-mf%2Fdoc</id>
	<title>Template:Date-mf/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://rosma.co.uk/mw/oba/index.php?action=history&amp;feed=atom&amp;title=Template%3ADate-mf%2Fdoc"/>
	<link rel="alternate" type="text/html" href="http://rosma.co.uk/mw/oba/index.php?title=Template:Date-mf/doc&amp;action=history"/>
	<updated>2026-04-22T17:17:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>http://rosma.co.uk/mw/oba/index.php?title=Template:Date-mf/doc&amp;diff=1459&amp;oldid=prev</id>
		<title>Smeeds at 00:04, 2 March 2012</title>
		<link rel="alternate" type="text/html" href="http://rosma.co.uk/mw/oba/index.php?title=Template:Date-mf/doc&amp;diff=1459&amp;oldid=prev"/>
		<updated>2012-03-02T00:04:39Z</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 01:04, 2 March 2012&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;'''Function''': Helper function for {{tl|start-date}} and {{tl|end-date}}.  This template is of interest to template writers only.  This template emits a dtstart or dtend date sequence as described by the hcalendar spec at [http://microformats.org/wiki/hcalendar the microformats community site].&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;'''Function''': Helper function for {{tl|start-date}} and {{tl|end-date}}.  This template is of interest to template writers only.  This template emits a dtstart or dtend date sequence as described by the hcalendar spec at [http://microformats.org/wiki/hcalendar the microformats community site].&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;'''Overview/Vision''' The main reason for existence of this template is to expose dates associated with events or people to the internet.  The standards are called &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[&lt;/del&gt;Microformats&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/del&gt;, and the next major release of browsers such as internet explorer and Firefox are said to allow use of this information.  For example, with address or coordinate data, map icons will activate on the toolbar so that the user may see a satellite image of a place discussed in an article.  Historical data might be used by a sort of google earth history- where the user can navigate not just in space, but in time.  Human readable encoding of dates will make such data ubiquitous in Wikipedia, establishing it the central repository and preeminent source of semantic information on the web.&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;'''Overview/Vision''' The main reason for existence of this template is to expose dates associated with events or people to the internet.  The standards are called Microformats, and the next major release of browsers such as internet explorer and Firefox are said to allow use of this information.  For example, with address or coordinate data, map icons will activate on the toolbar so that the user may see a satellite image of a place discussed in an article.  Historical data might be used by a sort of google earth history- where the user can navigate not just in space, but in time.  Human readable encoding of dates will make such data ubiquitous in Wikipedia, establishing it the central repository and preeminent source of semantic information on the web.&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;==== Obscure code ====&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;==== Obscure code ====&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;*Function #titleparts is used as a string array, so that I can pass multiple parameters from a single logic point in the front end template.  Normally, this would required redundantly copying the same logic if the information were passed in multiple template parameters.&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;*Function #titleparts is used as a string array, so that I can pass multiple parameters from a single logic point in the front end template.  Normally, this would required redundantly copying the same logic if the information were passed in multiple template parameters.&lt;/div&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;*dates in up-date is in an odd range.  This is done because years below 2500 can be interpreted as time by the #time function, and because dates &amp;lt;100 are misinterpreted.  This allows a range of 6999BC to 6999AD.  We could get an extra 1000 by adding 2500 instead of 3000, but it is easier on debugging if 3000 is used.  This template keeps them in a high range for safety and subtract 3000 just before outputting.  BC is indicated in ISO8601 with a negative sign preceding the year (see {{cite book|url=http://isotc.iso.org/livelink/livelink/fetch/2000/2122/138351/138352/customview.html?func=ll&amp;amp;objId=138352&amp;amp;objAction=browse&amp;amp;sort=name Technical Committee ISO/TC 154 |page=page 27/ pdf page 33|chapter=Annex B.1.1 |title=ISO8601-2004 |author=&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[&lt;/del&gt;International Organization for Standardization&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/del&gt;|format=pdf}}). Note that as of 2009-Feb, Operator misreports this as a positive number.&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;*dates in up-date is in an odd range.  This is done because years below 2500 can be interpreted as time by the #time function, and because dates &amp;lt;100 are misinterpreted.  This allows a range of 6999BC to 6999AD.  We could get an extra 1000 by adding 2500 instead of 3000, but it is easier on debugging if 3000 is used.  This template keeps them in a high range for safety and subtract 3000 just before outputting.  BC is indicated in ISO8601 with a negative sign preceding the year (see {{cite book|url=http://isotc.iso.org/livelink/livelink/fetch/2000/2122/138351/138352/customview.html?func=ll&amp;amp;objId=138352&amp;amp;objAction=browse&amp;amp;sort=name Technical Committee ISO/TC 154 |page=page 27/ pdf page 33|chapter=Annex B.1.1 |title=ISO8601-2004 |author=International Organization for Standardization|format=pdf}}). Note that as of 2009-Feb, Operator misreports this as a positive number.&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;*precision is implemented using #time's formatting.&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;*precision is implemented using #time's formatting.&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;*the +1 day, + 1 year stuff is for time ranges.  According to spec, the time end point must be just outside the range.  So that if the event goes from Monday to Wednesday, the dtend date would be Thursday.  You add the unit that corresponds to the given precision.&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;*the +1 day, + 1 year stuff is for time ranges.  According to spec, the time end point must be just outside the range.  So that if the event goes from Monday to Wednesday, the dtend date would be Thursday.  You add the unit that corresponds to the given precision.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key 4e2gbt_rosma1-mwzq_:diff::1.12:old-933:rev-1459 --&gt;
&lt;/table&gt;</summary>
		<author><name>Smeeds</name></author>
	</entry>
	<entry>
		<id>http://rosma.co.uk/mw/oba/index.php?title=Template:Date-mf/doc&amp;diff=933&amp;oldid=prev</id>
		<title>Smeeds: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://rosma.co.uk/mw/oba/index.php?title=Template:Date-mf/doc&amp;diff=933&amp;oldid=prev"/>
		<updated>2012-02-27T00:37:40Z</updated>

		<summary type="html">&lt;p&gt;1 revision&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;
{{esoteric}}&lt;br /&gt;
'''Function''': Helper function for {{tl|start-date}} and {{tl|end-date}}.  This template is of interest to template writers only.  This template emits a dtstart or dtend date sequence as described by the hcalendar spec at [http://microformats.org/wiki/hcalendar the microformats community site].&lt;br /&gt;
&lt;br /&gt;
'''Overview/Vision''' The main reason for existence of this template is to expose dates associated with events or people to the internet.  The standards are called [[Microformats]], and the next major release of browsers such as internet explorer and Firefox are said to allow use of this information.  For example, with address or coordinate data, map icons will activate on the toolbar so that the user may see a satellite image of a place discussed in an article.  Historical data might be used by a sort of google earth history- where the user can navigate not just in space, but in time.  Human readable encoding of dates will make such data ubiquitous in Wikipedia, establishing it the central repository and preeminent source of semantic information on the web.&lt;br /&gt;
&lt;br /&gt;
==== Obscure code ====&lt;br /&gt;
*Function #titleparts is used as a string array, so that I can pass multiple parameters from a single logic point in the front end template.  Normally, this would required redundantly copying the same logic if the information were passed in multiple template parameters.&lt;br /&gt;
*dates in up-date is in an odd range.  This is done because years below 2500 can be interpreted as time by the #time function, and because dates &amp;lt;100 are misinterpreted.  This allows a range of 6999BC to 6999AD.  We could get an extra 1000 by adding 2500 instead of 3000, but it is easier on debugging if 3000 is used.  This template keeps them in a high range for safety and subtract 3000 just before outputting.  BC is indicated in ISO8601 with a negative sign preceding the year (see {{cite book|url=http://isotc.iso.org/livelink/livelink/fetch/2000/2122/138351/138352/customview.html?func=ll&amp;amp;objId=138352&amp;amp;objAction=browse&amp;amp;sort=name Technical Committee ISO/TC 154 |page=page 27/ pdf page 33|chapter=Annex B.1.1 |title=ISO8601-2004 |author=[[International Organization for Standardization]]|format=pdf}}). Note that as of 2009-Feb, Operator misreports this as a positive number.&lt;br /&gt;
*precision is implemented using #time's formatting.&lt;br /&gt;
*the +1 day, + 1 year stuff is for time ranges.  According to spec, the time end point must be just outside the range.  So that if the event goes from Monday to Wednesday, the dtend date would be Thursday.  You add the unit that corresponds to the given precision.&lt;br /&gt;
&lt;br /&gt;
==== Validating/ debugging ====&lt;br /&gt;
See Firefox's free [https://addons.mozilla.org/en-US/firefox/addon/4106 Operator] toolbar.  Check options for debug mode.  There is a nice dialog to see the emitted html and the microformats that are recognized.&lt;br /&gt;
&lt;br /&gt;
==== Splarka gets another cookie ====&lt;br /&gt;
*Human readable dates are due not to any clever coding in this template.  The real work is done by the amazing PHP function [http://uk3.php.net/manual/en/function.strtotime.php strtotime()].  Splarka I think is the dude who exposed it in the #time [[mw:Help:Extension:ParserFunctions|ParserFunction]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- CATEGORIES AND INTERWIKIS BELOW THIS LINE PLEASE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Smeeds</name></author>
	</entry>
</feed>