<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.prismparty.net/history/Template:Time_ago/doc?feed=atom</id>
	<title>Template:Time ago/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.prismparty.net/history/Template:Time_ago/doc?feed=atom"/>
	<link rel="alternate" type="text/html" href="https://www.prismparty.net/history/Template:Time_ago/doc"/>
	<updated>2026-04-05T23:37:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.8</generator>
	<entry>
		<id>https://www.prismparty.net/index.php?title=Template:Time_ago/doc&amp;diff=1733&amp;oldid=prev</id>
		<title>BakiDance: Created page with &quot;{{Documentation}} The '''Time ago''' template calculates the amount of time which has passed since a provided timestamp.  The result is a string similar to one of the examples below.  This template ''should not'' be used with &quot;subst&quot; unless you don't want the stamp to change as the user refreshes the page.  The result is rounded down. &quot;Month&quot; is defined as 31 days.  ;Usage * &lt;code&gt;&lt;nowiki&gt;{{&lt;/nowiki&gt;'''Time ago'''|''timestamp''&lt;nowiki&gt;}}&lt;/nowiki&gt;&lt;/code&gt;  The timestamp ca...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.prismparty.net/index.php?title=Template:Time_ago/doc&amp;diff=1733&amp;oldid=prev"/>
		<updated>2023-04-24T00:23:26Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation}} The &amp;#039;&amp;#039;&amp;#039;Time ago&amp;#039;&amp;#039;&amp;#039; template calculates the amount of time which has passed since a provided timestamp.  The result is a string similar to one of the examples below.  This template &amp;#039;&amp;#039;should not&amp;#039;&amp;#039; be used with &amp;quot;subst&amp;quot; unless you don&amp;#039;t want the stamp to change as the user refreshes the page.  The result is rounded down. &amp;quot;Month&amp;quot; is defined as 31 days.  ;Usage * &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;Time ago&amp;#039;&amp;#039;&amp;#039;|&amp;#039;&amp;#039;timestamp&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;  The timestamp ca...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation}}&lt;br /&gt;
The '''Time ago''' template calculates the amount of time which has passed since a provided timestamp.  The result is a string similar to one of the examples below.  This template ''should not'' be used with &amp;quot;subst&amp;quot; unless you don't want the stamp to change as the user refreshes the page.&lt;br /&gt;
&lt;br /&gt;
The result is rounded down. &amp;quot;Month&amp;quot; is defined as 31 days.&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;'''Time ago'''|''timestamp''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The timestamp can be almost any solid, readable format but to avoid ambiguity mistakes, one of the styles below is preferred.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;magnitude&amp;lt;/code&amp;gt; parameter can be set to explicitly use certain unit. Allowed values are: &amp;lt;code&amp;gt;seconds&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;minutes&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;hours&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;days&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;weeks&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;months&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;years&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;code&amp;gt;min_magnitude&amp;lt;/code&amp;gt; parameter can be set to use the specified unit or bigger units. Allowed values are: &amp;lt;code&amp;gt;seconds&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;minutes&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;hours&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;days&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;months&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;years&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;code&amp;gt;ago&amp;lt;/code&amp;gt; parameter can be set to override the default usage of the text &amp;quot;&amp;lt;code&amp;gt;ago&amp;lt;/code&amp;gt;&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Examples&lt;br /&gt;
* &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{Time ago| -83 minutes}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; → '''{{Time ago|-83 minutes}}'''&lt;br /&gt;
* &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{Time ago| -334 minutes}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; → '''{{Time ago|-334 minutes}}'''&lt;br /&gt;
* &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{Time ago|{{REVISIONTIMESTAMP}}}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; → '''{{Time ago|{{REVISIONTIMESTAMP}}}}'''&lt;br /&gt;
* &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{Time ago| Jan 21, 2001 3:45 PM}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; → '''{{Time ago|Jan 21 2001 3:45 PM}}'''&lt;br /&gt;
* &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{Time ago| Nov 6 2008}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; → '''{{Time ago|Nov 6 2008}}'''&lt;br /&gt;
* &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{Time ago| Nov 6 2008|magnitude=weeks}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; → '''{{Time ago| Nov 6 2008|magnitude=weeks}}'''&lt;br /&gt;
* &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{Time ago| Nov 6 2008|min_magnitude=days}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; → '''{{Time ago|Nov 6 2008|min_magnitude=days}}'''&lt;br /&gt;
* &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{Time ago| Nov 6 2008|min_magnitude=years}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; → '''{{Time ago|Nov 6 2008|min_magnitude=years}}'''&lt;br /&gt;
* &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{Time ago| Nov 6 2008|ago=in the past}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; → '''{{Time ago|Nov 6 2008|ago=in the past}}'''&lt;br /&gt;
* &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{Time ago| Nov 6 2008|purge=yes}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; → '''{{Time ago|Nov 6 2008|purge=yes}}'''&lt;br /&gt;
* &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{Time ago| Nov 6 2008|purge=x}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; → '''{{Time ago|Nov 6 2008|purge=x}}'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;[[Category:Mathematical function templates]]&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>BakiDance</name></author>
	</entry>
</feed>