<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://projectmailer.net/index.php?action=history&amp;feed=atom&amp;title=Module%3AUnsigned</id>
	<title>Module:Unsigned - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://projectmailer.net/index.php?action=history&amp;feed=atom&amp;title=Module%3AUnsigned"/>
	<link rel="alternate" type="text/html" href="https://projectmailer.net/index.php?title=Module:Unsigned&amp;action=history"/>
	<updated>2026-04-23T13:45:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>https://projectmailer.net/index.php?title=Module:Unsigned&amp;diff=6659&amp;oldid=prev</id>
		<title>Grlucas: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://projectmailer.net/index.php?title=Module:Unsigned&amp;diff=6659&amp;oldid=prev"/>
		<updated>2019-04-09T18:28:48Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&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&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 14:28, 9 April 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key projectmailer-mw5w_:diff:1.41:old-6658:rev-6659 --&gt;
&lt;/table&gt;</summary>
		<author><name>Grlucas</name></author>
	</entry>
	<entry>
		<id>https://projectmailer.net/index.php?title=Module:Unsigned&amp;diff=6658&amp;oldid=prev</id>
		<title>en&gt;EdJohnston: Protected &quot;Module:Unsigned&quot;: High-risk Lua module: Request at WP:RFPP  ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://projectmailer.net/index.php?title=Module:Unsigned&amp;diff=6658&amp;oldid=prev"/>
		<updated>2019-01-07T17:25:46Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/pm/Module:Unsigned&quot; title=&quot;Module:Unsigned&quot;&gt;Module:Unsigned&lt;/a&gt;&amp;quot;: &lt;a href=&quot;/index.php?title=WP:High-risk_templates&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:High-risk templates (page does not exist)&quot;&gt;High-risk Lua module&lt;/a&gt;: Request at &lt;a href=&quot;/index.php?title=WP:RFPP&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:RFPP (page does not exist)&quot;&gt;WP:RFPP&lt;/a&gt;  ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
-- There&amp;#039;s probably a way to use strptime or some other more sophisticated way, but you&amp;#039;re not supposed to be using a non-timestamp as input anyway.&lt;br /&gt;
&lt;br /&gt;
local function endswith(String,End)&lt;br /&gt;
	return End == &amp;#039;&amp;#039; or string.sub(String,-string.len(End)) == End&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function trim(s)&lt;br /&gt;
	return s:gsub(&amp;quot;^%s+&amp;quot;, &amp;quot;&amp;quot;):gsub(&amp;quot;%s+$&amp;quot;, &amp;quot;&amp;quot;):gsub(&amp;quot;\226\128\142&amp;quot;, &amp;quot;&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function addUtcToStringIfItDoesNotEndWithUtc(s)&lt;br /&gt;
	if s == &amp;quot;&amp;quot; or endswith(s, &amp;quot;~~~~&amp;quot;) then return s end&lt;br /&gt;
	if not endswith(s, &amp;quot;(UTC)&amp;quot;) then&lt;br /&gt;
		return s .. &amp;quot; (UTC)&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
	return s&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function _main(args)&lt;br /&gt;
	local hopefullyTimestamp = args[1] or os.date(&amp;#039;%H:%M, %d %B %Y (%Z)&amp;#039;)&lt;br /&gt;
	return addUtcToStringIfItDoesNotEndWithUtc(trim(hopefullyTimestamp))&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	local args&lt;br /&gt;
	if type(frame.args) == &amp;#039;table&amp;#039; then&lt;br /&gt;
		-- We&amp;#039;re being called via #invoke. The args are passed through to the module&lt;br /&gt;
		-- from the template page, so use the args that were passed into the template.&lt;br /&gt;
		args = frame.args&lt;br /&gt;
	else&lt;br /&gt;
		-- We&amp;#039;re being called from another module or from the debug console, so assume&lt;br /&gt;
		-- the args are passed in directly.&lt;br /&gt;
		args = frame&lt;br /&gt;
	end&lt;br /&gt;
	return _main(args)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>en&gt;EdJohnston</name></author>
	</entry>
</feed>