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

  • ben
    link
    fedilink
    English
    179 months ago

    Someone forgot a case in their test suite.

    • @BrianTheeBiscuiteer
      link
      English
      339 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.