334

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
[-] Midnight1938@reddthat.com 3 points 1 year ago
[-] 018118055@sopuli.xyz 16 points 1 year ago

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

[-] Midnight1938@reddthat.com 1 points 11 months ago* (last edited 11 months ago)

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

[-] xmunk@sh.itjust.works 8 points 1 year ago

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

this post was submitted on 01 Dec 2023
334 points (98.0% liked)

Programmer Humor

32568 readers
140 users here now

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

Rules:

founded 5 years ago
MODERATORS