• Chris
    link
    fedilink
    English
    52 years ago

    Yeah… I am stoned but this looks like it should be valid and there is just a bug in the code.

    • @dukk@programming.dev
      link
      fedilink
      English
      62 years 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
        102 years 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
          22 years 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.