perishthethought@lemm.ee to Programmer Humor@lemmy.mlEnglish · 11 months agoI think my code will be OK...i.imgflip.comimagemessage-square44fedilinkarrow-up1315arrow-down17file-text
arrow-up1308arrow-down1imageI think my code will be OK...i.imgflip.comperishthethought@lemm.ee to Programmer Humor@lemmy.mlEnglish · 11 months agomessage-square44fedilinkfile-text
minus-square018118055@sopuli.xyzlinkfedilinkarrow-up16·11 months ago2100 not a leap year (divisible by 100). 2400 is a leap year (divisible by 400). Developing for dates is a minefield.
minus-squareMidnight1938@reddthat.comlinkfedilinkarrow-up1·edit-211 months agoNow imagine working on non Georgian, and the year is 2060
Why
2100 not a leap year (divisible by 100). 2400 is a leap year (divisible by 400). Developing for dates is a minefield.
Now imagine working on non Georgian, and the year is 2060