this post was submitted on 01 Dec 2023
326 points (97.9% liked)

Programmer Humor

32568 readers
377 users here now

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

Rules:

founded 5 years ago
MODERATORS
 

I know this isn't any kind of surprise, and yet, well...

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 year ago (2 children)
[–] [email protected] 14 points 1 year ago (1 children)

2100 not a leap year (divisible by 100). 2400 is a leap year (divisible by 400). Developing for dates is a minefield.

[–] [email protected] 1 points 11 months ago* (last edited 11 months ago)

Now imagine working on non Georgian, and the year is 2060

[–] xmunk 8 points 1 year ago

Because they're not leap years but are 0 === year % 4