• dukk@programming.dev
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    10 months 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
      ·
      10 months 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
        ·
        10 months 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.