Tag
Tony Finch revisits his Gregorian-to-Julian day conversion algorithm, incorporating tricks from Ben Joffe to produce a more efficient and robust formula.
A blog post exploring the nonexistent dates of October 5-14, 1582 due to the Gregorian calendar reform, and how Ruby, Python, and Perl handle these invalid dates.
A rare bug in PHP's DateTimeImmutable caused off-by-one-day errors for February of year 0; the fix is to use alternative timestamp conversion methods.
An exploration of Ruby's Date::ITALY constant, explaining its connection to the Gregorian calendar reform and Julian day numbers.