• dukk@programming.dev
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    1 year ago

    I’m guessing the UI designer accidentally put in DD/MM/YY, when the code handles the date as MM/DD/YY.

    • timkenhan@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      10
      ·
      1 year ago

      Sometimes if the developers don’t specify, the date format can follow clients’ settings, which can lead to unpredictable results like this.

      • dukk@programming.dev
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        1 year ago

        Yeah, I’d imagine you’d want to adapt for different locales. Here in the US, MMDDYY is pretty ubiquitous, but I’m sure it’s different in other countries.