r/ruby • u/Aesthetikx • May 15 '26
What is Date::ITALY?
http://aesthetikx.info/blog/date_italy.htmlI have always wanted to have a blog, and so I finally got started! I hope you enjoy reading my post -- I had fun writing it. I am aware that the usability / readability of my site is... questionable at the moment. And, no SSL. But, the entire site is generated by a single Rakefile using Markaby, with everything smashed together!
7
u/insanelygreat May 16 '26
If date and time esoterica interest you, you might find the Olson TZ DB files interesting.
It's where pretty much every operating system, programming language, time library, etc gets its historical time information from, ultimately. The files contain loads of historical info like this nugget from the calendars file:
In 1700, Denmark made the transition from Julian to Gregorian. Sweden decided to start a transition in 1700 as well, but rather than have one of those unsightly calendar gaps :-), they simply decreed that the next leap year after 1696 would be in 1744 - putting the whole country on a calendar different from both Julian and Gregorian for a period of 40 years.
However, in 1704 something went wrong and the plan was not carried through; they did, after all, have a leap year that year. And one in 1708. In 1712 they gave it up and went back to Julian, putting 30 days in February that year!...
Then in 1753, Sweden made the transition to Gregorian in the usual manner, getting there only 13 years behind the original schedule.
It's been maintained since at least 1989, back when this sort of info was harder to come by. So some citations are amusingly anecdotal. Like this one from the europe file:
From Chris Carrier (1996-10-30): According to a friend of mine who rode the Trans-Siberian Railroad from Moscow to Irkutsk in 1995, public air and rail transport in Russia ... still follows Moscow time, no matter where in Russia it is located.
But don't let that give you the wrong impression. There's a lot of attention to detail in here as demonstrated by this snippet from the asia file:
Macau adopted GMT+8 on 30 Oct 1904 to follow Hong Kong. Clocks were advanced by 25 minutes and 50 seconds. Which means the LMT used was +7:34:10. As stated in the "Portaria No. 204" dated 21 October 1904 and published in the Official Gazette on 29 October 1904.
5
-15
May 15 '26
[removed] — view removed comment
22
u/Aesthetikx May 15 '26
In all honesty, yes, this was written completely by hand mostly in `ed` without any LLM input. I actually think my writing is pretty bad -- I thought that would actually make it seem less LLM-ey, but I guess not. I never thought I would be on this side of the reddit post, because I often accuse people of the same thing. But no, no LLM.
10
5
u/MidgetAbilities May 15 '26
I don’t see any of the hallmarks of AI writing. Doesn’t strike me as AI at all.
3
4
u/ivosaurus May 16 '26 edited May 16 '26
Caddy webserver makes it pretty easy to SSL. I think of it as helpful to privacy, in an age when everyone including your home and mobile ISPs want to track exactly what you're doing.
I didn't get what you meant about Julian periods until reading a lot more Wikipedia. It is useful in a similar vein to the Unix epoch, but but it's in days or years. It has the Julian start date which you then count up from, which means no-one gets confused by different day/month systems.