this post was submitted on 24 Aug 2025
288 points (97.4% liked)

Programmer Humor

38527 readers
432 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] mdhughes@lemmy.sdf.org 4 points 1 month ago (1 children)

And what happens when you run that on Feb 29, 2024?

[โ€“] eager_eagle@lemmy.world 2 points 1 month ago

datetime raises a ValueError when trying to create an invalid date