L4sBot@lemmy.worldMB to Technology@lemmy.worldEnglish · 9 months agoSelf-pay gas station pumps break across NZ as software can’t handle Leap Dayarstechnica.comexternal-linkmessage-square26fedilinkarrow-up1308arrow-down15file-text
arrow-up1303arrow-down1external-linkSelf-pay gas station pumps break across NZ as software can’t handle Leap Dayarstechnica.comL4sBot@lemmy.worldMB to Technology@lemmy.worldEnglish · 9 months agomessage-square26fedilinkfile-text
Self-pay gas station pumps break across NZ as software can’t handle Leap Day::“We’ll add it to our Outlook reminders…”
minus-squareBrianTheeBiscuiteer@lemmy.worldlinkfedilinkEnglisharrow-up33·9 months agoI can’t imagine what logic would’ve hinged on February having 28 days. It’s not like 29 exceeds some maximum value for days in a month. Probably someone thought it was a good idea to write their own date-time library.
minus-square_edge@discuss.tchncs.delinkfedilinkEnglisharrow-up5·9 months agoNext = (year+1, month, day)
I can’t imagine what logic would’ve hinged on February having 28 days. It’s not like 29 exceeds some maximum value for days in a month. Probably someone thought it was a good idea to write their own date-time library.
Next = (year+1, month, day)