Self-pay gas station pumps break across NZ as software can’t handle Leap Day::“We’ll add it to our Outlook reminders…”

    • BrianTheeBiscuiteer@lemmy.world
      link
      fedilink
      English
      arrow-up
      33
      ·
      10 months ago

      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.

      • _edge
        link
        fedilink
        English
        arrow-up
        5
        ·
        10 months ago

        Next = (year+1, month, day)