<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Coder Legion - Recent posts tagged calendar-conversion</title>
<link>https://coderlegion.com/tag/calendar-conversion</link>
<description>Powered by Question2Answer</description>
<item>
<title>The Ancient Roman Calendar in Your Python Terminal: A Love Letter to Useless Code</title>
<link>https://coderlegion.com/25029/the-ancient-roman-calendar-in-your-python-terminal-a-love-letter-to-useless-code</link>
<description>&lt;p&gt;I'm not a developer. Let's get that out of the way first. &lt;/p&gt;
&lt;p&gt;By training and profession, I'm an academic — a humanities researcher who spends more time with ancient texts and historical manuscripts than with IDE windows and terminal commands. But somewhere along the way, I discovered that code could be a playground for the curious mind, not just a tool for building products. And that's how &lt;code&gt;rus2latin_date&lt;/code&gt; came to life.&lt;/p&gt;
&lt;h3 id=&quot;the-academic-s-confession&quot;&gt;The Academic's Confession&lt;/h3&gt;
&lt;p&gt;I spend my days immersed in historical calendars, linguistic quirks, and the fascinating ways different cultures have tried to tame time. The Roman calendar, in particular, has always captivated me. It's gloriously counterintuitive — counting days backward from fixed points, using inclusive arithmetic that makes modern brains hurt, and relying on a system that feels more like poetry than practicality.&lt;/p&gt;
&lt;p&gt;So when I stumbled into the world of Python, I didn't want to build a startup or a SaaS product. I wanted to build &lt;em&gt;this&lt;/em&gt;: a tiny package that takes a mundane Russian date like &quot;24 марта&quot; (March 24th) and transforms it into the Roman equivalent: &lt;em&gt;&quot;ante diem VIIII Kalendas Apriles&quot;&lt;/em&gt;. Because why shouldn't a humanities scholar write code that reflects their obsessions?&lt;/p&gt;
&lt;h3 id=&quot;what-this-little-package-does&quot;&gt;What This Little Package Does&lt;/h3&gt;
&lt;p&gt;The code is simple. Install it with &lt;code&gt;pip install rus2latin_date&lt;/code&gt;, import the &lt;code&gt;Converter&lt;/code&gt; class, and you're off:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-python&quot;&gt;from rus2latin_date import Converter
c = Converter()
print(c.conv(&quot;28 февраля 2012&quot;))  # 'ante diem III Kalendas Martias'
print(c.conv(&quot;15-11-1983&quot;))       # 'ante diem XVII Kalendas Decembres'
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;It accepts different date formats — spelled-out months, numeric dates, Russian-style order — and does the heavy lifting of converting them into classical Latin. Under the hood, it's just a set of rules mapping our modern Gregorian dates onto the Roman calendar's chaotic elegance. But for me, it represents something more: the marriage of computational thinking and historical curiosity.&lt;/p&gt;
&lt;h3 id=&quot;a-bot-in-the-wild&quot;&gt;A Bot in the Wild&lt;/h3&gt;
&lt;p&gt;You'd think this would be where the story ends — a dusty package on PyPI collecting virtual cobwebs. But then someone built a Telegram bot, &lt;strong&gt;@russian2roman_bot&lt;/strong&gt;, using my code. Now you can message it any Russian date and receive a Latin response. It's absurd, it's playful, and it makes me deeply happy. My little academic pet project found an unexpected life in the wild.&lt;/p&gt;
&lt;h3 id=&quot;for-the-humanities-mind-in-tech&quot;&gt;For the Humanities Mind in Tech&lt;/h3&gt;
&lt;p&gt;I share this because I know there are others like me — people who love code but whose hearts belong to literature, history, or linguistics. You don't need to build the next unicorn startup. You can build something that simply &lt;em&gt;delights&lt;/em&gt;. You can translate ancient calendars into Python. You can write a bot that recites medieval poetry. You can treat code as another medium for humanistic inquiry.&lt;/p&gt;
&lt;p&gt;This package isn't practical. It won't solve a business problem or generate revenue. But it &lt;em&gt;does&lt;/em&gt; something important: it reminds us that programming can be a form of intellectual play, a way of exploring the world through logic and language.&lt;/p&gt;
&lt;p&gt;Explore it on GitHub: &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/nevmenandr/rus2latin_date&quot;&gt;https://github.com/nevmenandr/rus2latin_date&lt;/a&gt;. Try the bot: &lt;strong&gt;@russian2roman_bot&lt;/strong&gt;. And if you're a fellow traveler between the humanities and code, consider this an invitation to build your own beautiful, useless thing.&lt;/p&gt;
</description>
<category>Articles</category>
<guid isPermaLink="true">https://coderlegion.com/25029/the-ancient-roman-calendar-in-your-python-terminal-a-love-letter-to-useless-code</guid>
<pubDate>Wed, 14 Oct 2026 23:29:00 +0000</pubDate>
</item>
</channel>
</rss>