266
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 24 Aug 2025
266 points (100.0% liked)
Programmer Humor
37993 readers
87 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 6 years ago
MODERATORS
I prefer the one on the left because it's evident it doesn't account for leap days, while I'd be questioning whether the one on the right does.
I'll give it a shot. Looks a bit kludgy and I've been typing this on my phone while sitting on the toilet. What am I doing with my life?
And what happens when you run that on Feb 29, 2024?
datetime raises a ValueError when trying to create an invalid date
or just this