• bleistift2@feddit.de
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    3
    ·
    8 months ago

    Firefox still has no month or week inputs. These things have been standardized 10 years ago and implemented in Chrome as of version 20.

    • Eager Eagle@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      8 months ago

      Probably the reason it was never implemented is that it’s barely an inconvenience. The input just fallback into a text field.

      • bjorney@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 months ago

        Probably because the week input is just a date picker that applies Math.floor() on the result, and month inputs are better suited for a <select>

    • Skull giver@popplesburger.hilciferous.nl
      link
      fedilink
      English
      arrow-up
      4
      ·
      8 months ago

      According to MDN, Firefox does support week inputs… on Android. Firefox isn’t really relevant, though. Safari is, and Safari doesn’t have a week input either.

      I don’t know many use cases for these input types, but it’s interesting to know about them for the future.