Blåhaj Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Kaptaan Jack@lemmy.ml to Programmer Humor@lemmy.ml · 3 years ago

Alphabetically sorted months. But WHY?

lemmy.ml

message-square
35
link
fedilink
672

Alphabetically sorted months. But WHY?

lemmy.ml

Kaptaan Jack@lemmy.ml to Programmer Humor@lemmy.ml · 3 years ago
message-square
35
link
fedilink
alert-triangle
You must log in or # to comment.
  • joeyshabadu@lemmy.world
    link
    fedilink
    arrow-up
    68
    ·
    3 years ago

    Finally, I can find the month I want!

    Now to enter my phone number…

    • bdonvr@thelemmy.club
      link
      fedilink
      arrow-up
      6
      ·
      3 years ago

      Your browser does not support playing HTML5 video. You can download a copy of the video file instead.

    • SomeBoyo@feddit.de
      link
      fedilink
      arrow-up
      6
      ·
      3 years ago

      Your browser does not support playing HTML5 video. You can download a copy of the video file instead.

    • SomeBoyo@feddit.de
      link
      fedilink
      arrow-up
      3
      ·
      3 years ago

      Finally! A worthy opponent!

  • DM_Gold@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    36
    ·
    3 years ago

    Instead of asking “why?” consider asking “why not?”

    • InverseParallax@lemmy.worldBanned
      link
      fedilink
      arrow-up
      14
      ·
      3 years ago

      Imagine being able to autocomplete months.

    • flamingarms@beehaw.org
      link
      fedilink
      arrow-up
      3
      ·
      3 years ago

      You’re right, that is an easier question to answer!

  • kite@lemmy.world
    link
    fedilink
    arrow-up
    28
    ·
    3 years ago

    Probably forgot to check the default for sort order. I’ve done that before.

  • AnalogyAddict@kbin.social
    link
    fedilink
    arrow-up
    21
    ·
    3 years ago

    Speaking as a UX designer, probably because some “product manager” decided it was too expensive to override the auto- sort that was applied before the designer was brought in to “pretty things up.”

    There is no tone of bitterness in my comment, honestly there isn’t.

    • VirtualAlias@reddthat.com
      link
      fedilink
      arrow-up
      6
      ·
      3 years ago

      Yeah, I was going to say they just left a default alphabetical sort to their global droplist component and called it a day. Probably works fine in most contexts, but this one - not so much.

      • QuaternionsRock@lemmy.world
        link
        fedilink
        arrow-up
        7
        ·
        3 years ago

        Or shitty SQL.

        SELECT MAX(day_of_month), month
        FROM why_does_this_table_exist
        GROUP BY month
        
  • nonstopshirtflutter@lemmy.fmhy.ml
    link
    fedilink
    arrow-up
    20
    ·
    3 years ago

    Everyone is saying this was impossible to solve without fixing the underlying tool, but just writing a prefixes from 01 to 12 would have been my solution.

    Now you don’t even need to remember the months to select the correct one.

  • some_guy@lemmy.sdf.org
    link
    fedilink
    arrow-up
    12
    ·
    3 years ago

    Unpopular opinion: the person in charge of that menu hates everyone. :)

    • akari
      link
      fedilink
      arrow-up
      3
      ·
      3 years ago

      thats neither unpopular not an opinion. that’s a well-known fact

  • Grandwolf319@sh.itjust.works
    link
    fedilink
    arrow-up
    12
    ·
    3 years ago

    Obviously it’s a an act of protest so the months are officially remade to be alphabetically ordered.

    • subway@lemmy.fmhy.ml
      link
      fedilink
      arrow-up
      6
      ·
      3 years ago

      Can’t we just call them month 1 to month 12 like CJK languages do?

      • lugal@sopuli.xyz
        link
        fedilink
        arrow-up
        10
        ·
        3 years ago

        But in alphabetical order: 1, 10, 11, 12, 2, 3, 4, 5, 6, 7, 8, 9

        • feck_it@sh.itjust.works
          link
          fedilink
          arrow-up
          4
          ·
          3 years ago

          This is not even in alphabetical order, three couldn’t be before the four.

          • lugal@sopuli.xyz
            link
            fedilink
            English
            arrow-up
            4
            ·
            3 years ago

            Computers sometimes sort in this logic: “1” is the first digit so everything that starts with “1” comes first. Alphabetical in this sense, not the names of the numbers written out as done in another comment under this post.

            • President_Pyrus@feddit.dk
              link
              fedilink
              English
              arrow-up
              2
              ·
              3 years ago

              Which is why ISO 8601 is superior.

            • feck_it@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              2
              ·
              3 years ago

              Oh, why i didn’t consider that, my education background didn’t help i guess, thank you.

      • Grandwolf319@sh.itjust.works
        link
        fedilink
        arrow-up
        10
        ·
        3 years ago

        No, it has to be month 0 to 11.

  • lowleveldata@programming.dev
    link
    fedilink
    arrow-up
    11
    ·
    3 years ago

    I once got a user requirement that specifically say all drop down lists must be sorted alphabetically

    • tiredofsametab@kbin.social
      link
      fedilink
      arrow-up
      3
      ·
      3 years ago

      eight, five, four, nine, one, seven, six, ten, three, two … ew

      • lugal@sopuli.xyz
        link
        fedilink
        arrow-up
        1
        ·
        3 years ago

        8, 5, 4, 9, 1, 7, 6, 10, 3, 2

  • Perry@kbin.social
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    3 years ago

    They are probably reusing a component that happens to sort its entries alphabetically, since that is most commonly the expected behaviour. If the form is configured in a CMS, whoever built it might not even know it’s happening and has entered the data properly, but it gets resorted in the presentation layer. It’s also not impossible that the behaviour of the component has changed at some point and this particular case didn’t have test coverage or wasn’t actually part of the specification.

  • parpol@programming.devBanned
    link
    fedilink
    arrow-up
    4
    ·
    3 years ago

    deleted by creator

  • LaggyKar@programming.dev
    link
    fedilink
    arrow-up
    4
    ·
    3 years ago

    Why even make a dropdown? It would be quicker just to type a number

  • darvocet@infosec.pub
    link
    fedilink
    arrow-up
    3
    ·
    3 years ago

    For organization?

  • 99nights@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    3 years ago

    My birthday still lands in the middle of the year. Poor me

  • netvor@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 years ago

    Months are an unnecessary and leaky abstraction, they don’t need to be taken seriously.

    I agree with this programmer.

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 12 users / day
  • 336 users / week
  • 1.09K users / month
  • 5.45K users / 6 months
  • 664 local subscribers
  • 40.7K subscribers
  • 1.94K Posts
  • 36.7K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • UI: 0.19.13
  • BE: 0.19.13-modified
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org