When a kernel commit starts with "In A.D. 1582 Pope Gregory XIII found that ..." you know you're in for a ride:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f076ef44a44d02ed91543f820c14c2c7dff53716
tl;dr: Rockchip decided November should have 31 days...
rtc: rk808: Compensate for Rockchip calendar deviation on November 31st - kernel/git/torvalds/linux.git - Linux kernel source tree

@kees Considering that I quit my last IT job effective on 31st November, maybe I should apply at rockchip 🤔
@kees I hope Falsehoods Programmers Believe About Time gets a "November has 31 days" entry.
@ieure @kees Wouldn't these be hardware engineers?

@kees I first encountered mention of Pope Gregory XIII in code in an early version of Perl's strftime() in perl5's codebase (before Perl's POSIX module existed — circa 1994-ish).
I do not have time (ha!) rn to find Larry Wall's comment, but was something like: “formatting dates before 1582 is a highly political question relating to the Protestant Reformation & Pope Gregory XIII“.

I now ponder why Rockchip doesn't implement instead Eastman's International Fixed Calendar:
https://en.wikipedia.org/wiki/International_Fixed_Calendar

International Fixed Calendar - Wikipedia

@kees Not exactly Vogon, but I gave it a go earlier:

Thirty days has September,
April, June, and remember,
the eleventh month has thirty too,
unless a Rockchip CPU,
in which case you must count one more,
or use a patch to address the flaw.

@kees rockship_to_gregorian is just awesome
@kees In A.D. 2101 war was beginning

@kees Not sure if Julius ever expected to become immortalized because of his commit message that explains a workaround to a silicon bug...

He definitely put in the effort, though.

@kees @mxshift UGH. Of course its the cursed rk808. The computer I'm typing this on uses one. Guess I need to grab this patch tomorrow.
@kees @mxshift lol, imagine my surprise when I run patch and it says "already applied". Didnt realize it was a post from 2015, I already had the patch. Alas, my hopes of that being the reason rtcwake doesnt work are dashed. I'll come back to debugging that... at some point.
@kees
Some 5 year old kid many years ago:
I don't need to know that silly calendar song, I'm going to be a hardware engineer!
@kees It's so unfathomably ridiculous how hardware vendors think it makes any sense to store and compute broken-down time rather than POSIX or TAI.
@kees I know hackers say that dates are hard, but somehow I don't think they had this in mind...
@kees Love how Pope Gregory XIII is casually referred to as "Greg" in this message.
@iooioio @kees Seems disrespectful? But I'm sure Greg don't care!
@iooioio @kees I referred to Alexander the Great as Alex to someone last weekend, and they knew who I was talking about. Ha ha. (We were discussing Diogenes.)
@kees "Greg's proposal" ​

From this day forth, I shall refer to the "Gregorian Calendar" as "Greg's List".


"When is my next doctor's appointment?"

"Check Greg's List."

@sin @kees Greg should make a classifieds forum.

@kees
Seems like if an halloween-ist people working for Rockchip try to take one more day to keep their decoration up before the christmas-ist people force them to Christmas decoration.

"Look it's still november, december is not there yet!"

@kees wait, a HW manufacturer decided they'd just redefine the calendar? WTF?
@fuzzychef @kees I mean, I'd rather suspect this is a bug that made it into hardware unnoticed rather than an intentional choice, but yes