<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://mc.nguh.org/w/index.php?action=history&amp;feed=atom&amp;title=Module%3ACalendar%2Frokaselan</id>
	<title>Module:Calendar/rokaselan - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mc.nguh.org/w/index.php?action=history&amp;feed=atom&amp;title=Module%3ACalendar%2Frokaselan"/>
	<link rel="alternate" type="text/html" href="https://mc.nguh.org/w/index.php?title=Module:Calendar/rokaselan&amp;action=history"/>
	<updated>2026-05-30T21:00:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.3</generator>
	<entry>
		<id>https://mc.nguh.org/w/index.php?title=Module:Calendar/rokaselan&amp;diff=40045&amp;oldid=prev</id>
		<title>Cinthyr at 03:08, 23 May 2026</title>
		<link rel="alternate" type="text/html" href="https://mc.nguh.org/w/index.php?title=Module:Calendar/rokaselan&amp;diff=40045&amp;oldid=prev"/>
		<updated>2026-05-23T03:08:14Z</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 03:08, 23 May 2026&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-l74&quot;&gt;Line 74:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 74:&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;calendar.to_formatted = function(datestamp, opts)&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;calendar.to_formatted = function(datestamp, opts)&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;	opts = opts or {erastyle = &amp;quot;both&amp;quot;}&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;	opts = opts or {erastyle = &amp;quot;both&amp;quot;}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;	opts.erastyle = opts.erastyle or &quot;both&quot;&lt;/ins&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;div&gt;	local date = calendar.to(datestamp)&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;	local date = calendar.to(datestamp)&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;	local era_year, era = era_of(date.year)  &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;	local era_year, era = era_of(date.year)  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key nguhcraft_wiki:diff:1.41:old-40035:rev-40045:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Cinthyr</name></author>
	</entry>
	<entry>
		<id>https://mc.nguh.org/w/index.php?title=Module:Calendar/rokaselan&amp;diff=40035&amp;oldid=prev</id>
		<title>Cinthyr: date_info.days does not exist, and there&#039;s no safeguard for a nil opts value</title>
		<link rel="alternate" type="text/html" href="https://mc.nguh.org/w/index.php?title=Module:Calendar/rokaselan&amp;diff=40035&amp;oldid=prev"/>
		<updated>2026-05-23T02:13:12Z</updated>

		<summary type="html">&lt;p&gt;date_info.days does not exist, and there&amp;#039;s no safeguard for a nil opts value&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 02:13, 23 May 2026&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-l41&quot;&gt;Line 41:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 41:&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;		days = days + month_len(month, date_info.year)&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;		days = days + month_len(month, date_info.year)&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;	end&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;	end&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;	days = days + date_info.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;days&lt;/del&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;	days = days + date_info.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;day&lt;/ins&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;div&gt;	return days + epoch_offset&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;	return days + epoch_offset&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;end&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;end&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-l73&quot;&gt;Line 73:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 73:&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;calendar.to_formatted = function(datestamp, opts)&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;calendar.to_formatted = function(datestamp, opts)&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;	opts&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.erastyle &lt;/del&gt;= opts&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.&lt;/del&gt;erastyle &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;or &lt;/del&gt;&quot;both&quot;&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;	opts = opts &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;or {&lt;/ins&gt;erastyle &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;= &lt;/ins&gt;&quot;both&quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}&lt;/ins&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;div&gt;	local date = calendar.to(datestamp)&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;	local date = calendar.to(datestamp)&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;	local era_year, era = era_of(date.year)  &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;	local era_year, era = era_of(date.year)  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key nguhcraft_wiki:diff:1.41:old-40028:rev-40035:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Cinthyr</name></author>
	</entry>
	<entry>
		<id>https://mc.nguh.org/w/index.php?title=Module:Calendar/rokaselan&amp;diff=40028&amp;oldid=prev</id>
		<title>Annwan at 18:34, 22 May 2026</title>
		<link rel="alternate" type="text/html" href="https://mc.nguh.org/w/index.php?title=Module:Calendar/rokaselan&amp;diff=40028&amp;oldid=prev"/>
		<updated>2026-05-22T18:34:49Z</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 18:34, 22 May 2026&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-l82&quot;&gt;Line 82:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 82:&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;		formatted_year = &amp;quot;, &amp;quot; .. era .. &amp;quot; &amp;quot; .. tostring(era_year)&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;		formatted_year = &amp;quot;, &amp;quot; .. era .. &amp;quot; &amp;quot; .. tostring(era_year)&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;	elseif opts.erastyle == &amp;quot;both&amp;quot; then&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;	elseif opts.erastyle == &amp;quot;both&amp;quot; then&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;		formatted_year = &quot;, &quot; .. era .. &quot; &quot; .. tostring(era_year) .. &quot;(&quot; .. tostring(date.year) .. &quot; MK)&quot;&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;		formatted_year = &quot;, &quot; .. era .. &quot; &quot; .. tostring(era_year) .. &quot; (&quot; .. tostring(date.year) .. &quot; MK)&quot;&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;	else&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;	else&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;		error(&amp;quot;unsupported era style: &amp;quot; .. opts.erastyle)&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;		error(&amp;quot;unsupported era style: &amp;quot; .. opts.erastyle)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key nguhcraft_wiki:diff:1.41:old-40027:rev-40028:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Annwan</name></author>
	</entry>
	<entry>
		<id>https://mc.nguh.org/w/index.php?title=Module:Calendar/rokaselan&amp;diff=40027&amp;oldid=prev</id>
		<title>Annwan at 18:34, 22 May 2026</title>
		<link rel="alternate" type="text/html" href="https://mc.nguh.org/w/index.php?title=Module:Calendar/rokaselan&amp;diff=40027&amp;oldid=prev"/>
		<updated>2026-05-22T18:34:32Z</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 18:34, 22 May 2026&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-l78&quot;&gt;Line 78:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 78:&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;	local formatted_year&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;	local formatted_year&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;	if opts.erastyle == &amp;quot;mk&amp;quot; then&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;	if opts.erastyle == &amp;quot;mk&amp;quot; then&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;		formatted_year = &quot; &quot; .. tostring(year) .. &quot; MK&quot;&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;		formatted_year = &quot; &quot; .. tostring(&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;date.&lt;/ins&gt;year) .. &quot; MK&quot;&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;	elseif opts.erastyle == &amp;quot;era&amp;quot; then&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;	elseif opts.erastyle == &amp;quot;era&amp;quot; then&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;		formatted_year = &amp;quot;, &amp;quot; .. era .. &amp;quot; &amp;quot; .. tostring(era_year)&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;		formatted_year = &amp;quot;, &amp;quot; .. era .. &amp;quot; &amp;quot; .. tostring(era_year)&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;	elseif opts.erastyle == &amp;quot;both&amp;quot; then&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;	elseif opts.erastyle == &amp;quot;both&amp;quot; then&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;		formatted_year = &quot;, &quot; .. era .. &quot; &quot; .. tostring(era_year) .. &quot;(&quot; .. tostring(year) .. &quot; MK)&quot;&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;		formatted_year = &quot;, &quot; .. era .. &quot; &quot; .. tostring(era_year) .. &quot;(&quot; .. tostring(&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;date.&lt;/ins&gt;year) .. &quot; MK)&quot;&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;	else&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;	else&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;		error(&amp;quot;unsupported era style: &amp;quot; .. opts.erastyle)&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;		error(&amp;quot;unsupported era style: &amp;quot; .. opts.erastyle)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key nguhcraft_wiki:diff:1.41:old-40026:rev-40027:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Annwan</name></author>
	</entry>
	<entry>
		<id>https://mc.nguh.org/w/index.php?title=Module:Calendar/rokaselan&amp;diff=40026&amp;oldid=prev</id>
		<title>Annwan: Add rokaselan calendar</title>
		<link rel="alternate" type="text/html" href="https://mc.nguh.org/w/index.php?title=Module:Calendar/rokaselan&amp;diff=40026&amp;oldid=prev"/>
		<updated>2026-05-22T18:33:49Z</updated>

		<summary type="html">&lt;p&gt;Add rokaselan calendar&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local calendar = {}&lt;br /&gt;
&lt;br /&gt;
local epoch_offset = -870294&lt;br /&gt;
local month_names = { &amp;quot;Sairairita&amp;quot;, &amp;quot;Nilarita&amp;quot;, &amp;quot;Rekarita&amp;quot;, &amp;quot;Towanrita&amp;quot;, &amp;quot;Eskelrita&amp;quot;, &amp;quot;Kastarita&amp;quot;, &amp;quot;Rokorita&amp;quot;, &amp;quot;Korakarita&amp;quot;, &amp;quot;Merikrita&amp;quot;, &amp;quot;Rikulrita&amp;quot;, &amp;quot;Parfarita&amp;quot; }&lt;br /&gt;
local day_names = { [0] = &amp;quot;Akkage&amp;quot;, &amp;quot;Dungkage&amp;quot;, &amp;quot;Rencage&amp;quot;, &amp;quot;Kenénage&amp;quot;, &amp;quot;Minákkage&amp;quot;, &amp;quot;Rikudage&amp;quot;, &amp;quot;Pinakage&amp;quot;, &amp;quot;Akkage&amp;quot; }&lt;br /&gt;
&lt;br /&gt;
local function era_of(year_mk)&lt;br /&gt;
	if year_mk &amp;lt;= 1219 then return year_mk, &amp;quot;Misha Kótan&amp;quot; end&lt;br /&gt;
	if year_mk &amp;lt;= 1636 then return year_mk - 1219, &amp;quot;Remuymaga&amp;quot; end&lt;br /&gt;
	if year_mk &amp;lt;= 1708 then return year_mk - 1636, &amp;quot;Kagyuha&amp;quot; end&lt;br /&gt;
	if year_mk &amp;lt;= 2024 then return year_mk - 1708, &amp;quot;Karlan&amp;quot; end&lt;br /&gt;
	if year_mk &amp;lt;= 2198 then return year_mk - 2024, &amp;quot;Dúrisa&amp;quot; end&lt;br /&gt;
	if year_mk &amp;lt;= 2338 then return year_mk - 2198, &amp;quot;Peska&amp;quot; end&lt;br /&gt;
	--[[if year_mk &amp;lt;= current era then ]] return year_mk - 2338, &amp;quot;Kanata&amp;quot;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function is_leap(year)&lt;br /&gt;
	local cycle_point = year % 33&lt;br /&gt;
	return cycle_point % 4 == 0 and cycle_point ~= 32&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function month_len(m, y)&lt;br /&gt;
	if m &amp;gt;= 1 and m &amp;lt;= 6 then return 31 end&lt;br /&gt;
	if m &amp;gt;= 7 and m &amp;lt;= 11 then return 30 end&lt;br /&gt;
	if m == 12 then return is_leap(y) and 30 or 29 end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
calendar.from = function(date_info)&lt;br /&gt;
	assert(date_info.year and date_info.month and date_info.day)&lt;br /&gt;
	date_info.year = tonumber(date_info.year)&lt;br /&gt;
	date_info.month = tonumber(date_info.month)&lt;br /&gt;
	date_info.day = tonumber(date_info.day)&lt;br /&gt;
	&lt;br /&gt;
	local cycles = date_info.year / 33&lt;br /&gt;
	local cycle_pos = date_info.year % 33&lt;br /&gt;
	local days = math.floor(cycles) * 12053&lt;br /&gt;
	for year = 0, cycle_pos - 1 do&lt;br /&gt;
		days = days + (is_leap(year) and 366 or 365)&lt;br /&gt;
	end&lt;br /&gt;
	for month = 1, date_info.month do&lt;br /&gt;
		days = days + month_len(month, date_info.year)&lt;br /&gt;
	end&lt;br /&gt;
	days = days + date_info.days&lt;br /&gt;
	return days + epoch_offset&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
calendar.to = function(datestamp)&lt;br /&gt;
	datestamp = tonumber(datestamp)&lt;br /&gt;
	local days = datestamp - epoch_offset&lt;br /&gt;
	local cycles = days / 12053&lt;br /&gt;
	local year = math.floor(cycles) * 33&lt;br /&gt;
	local days = days - math.floor(cycles) * 12053&lt;br /&gt;
	&lt;br /&gt;
	while days &amp;gt;= 366 do&lt;br /&gt;
		days = days - (is_leap(year) and 366 or 365)&lt;br /&gt;
		year = year + 1&lt;br /&gt;
	end&lt;br /&gt;
	if days == 365 and not is_leap(year) then&lt;br /&gt;
		days = days - 365&lt;br /&gt;
		year = year + 1&lt;br /&gt;
	end&lt;br /&gt;
	local month, day&lt;br /&gt;
	if days &amp;gt; 186 then&lt;br /&gt;
		days = days - 186&lt;br /&gt;
		month = math.floor(days/30) + 7&lt;br /&gt;
		day = days % 30 + 1&lt;br /&gt;
	else&lt;br /&gt;
		month = math.floor(days / 31) + 1&lt;br /&gt;
		day = days % 31 + 1&lt;br /&gt;
	end&lt;br /&gt;
	return {year = year, month = month, day = day, weekday = (datestamp - epoch_offset) % 7}&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
calendar.to_formatted = function(datestamp, opts)&lt;br /&gt;
	opts.erastyle = opts.erastyle or &amp;quot;both&amp;quot;&lt;br /&gt;
	local date = calendar.to(datestamp)&lt;br /&gt;
	local era_year, era = era_of(date.year) &lt;br /&gt;
	local formatted_year&lt;br /&gt;
	if opts.erastyle == &amp;quot;mk&amp;quot; then&lt;br /&gt;
		formatted_year = &amp;quot; &amp;quot; .. tostring(year) .. &amp;quot; MK&amp;quot;&lt;br /&gt;
	elseif opts.erastyle == &amp;quot;era&amp;quot; then&lt;br /&gt;
		formatted_year = &amp;quot;, &amp;quot; .. era .. &amp;quot; &amp;quot; .. tostring(era_year)&lt;br /&gt;
	elseif opts.erastyle == &amp;quot;both&amp;quot; then&lt;br /&gt;
		formatted_year = &amp;quot;, &amp;quot; .. era .. &amp;quot; &amp;quot; .. tostring(era_year) .. &amp;quot;(&amp;quot; .. tostring(year) .. &amp;quot; MK)&amp;quot;&lt;br /&gt;
	else&lt;br /&gt;
		error(&amp;quot;unsupported era style: &amp;quot; .. opts.erastyle)&lt;br /&gt;
	end&lt;br /&gt;
	return string.format(&amp;quot;%s %d %s%s&amp;quot;, day_names[date.weekday], date.day, month_names[date.month], formatted_year)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return calendar&lt;/div&gt;</summary>
		<author><name>Annwan</name></author>
	</entry>
</feed>