netvor,
@netvor@lemmy.world avatar

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

I agree with this programmer.

LaggyKar,
@LaggyKar@programming.dev avatar

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

joeyshabadu,

Finally, I can find the month I want!

Now to enter my phone number… https://lemmy.world/pictrs/image/ecb769e9-be3a-4918-8fc8-95082ca72ec0.jpeg

SomeBoyo,

Finally! A worthy opponent!

SomeBoyo,
bdonvr,
nonstopshirtflutter,

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,

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

akariii,

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

99nights,

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

Grandwolf319,

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

subway,

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

Grandwolf319,

No, it has to be month 0 to 11.

lugal,

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

feck_it,

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

lugal,

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.

feck_it,

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

President_Pyrus,
@President_Pyrus@feddit.dk avatar

Which is why ISO 8601 is superior.

coldhotman,

But WHY?

So they’re in alphabetical order.

AnalogyAddict,

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,

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,

Or shitty SQL.

<pre style="background-color:#ffffff;">
<span style="color:#323232;">SELECT MAX(day_of_month), month
</span><span style="color:#323232;">FROM why_does_this_table_exist
</span><span style="color:#323232;">GROUP BY month
</span>
Blamemeta,

Im sorry. Im a front end dev, i wish i could make everything pretty, but theres just too many meetings and too much process for everything to get much done.

AnalogyAddict,

Haha! Exactly! I do some coding, too, but I can't think like a UXer and a dev at the same time.

It's the "making it pretty" part that makes me bitter. That is the LEAST part of what we do.

It's like asking an architect to come in and fix the building after it's already mostly built. Bad PMs insist on seeing us like interior decorators, but we are primarily architects.

Lifter,

They don’t want to pay architect salary to do decorating work and I fully agree. Problem is that stuff like this are often overlooked until someone makes a fuss about it, costing PR. The other 90 % of the overlooked stuff is never found though so it’s still a good decision to skip stuff like this.

AnalogyAddict,

I'd believe that, if they weren't already paying the architect salary to have us do interior design. They hire us, then shackle us.

lowleveldata,

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

tiredofsametab,

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

lugal,

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

Perry, (edited )
Perry avatar

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,

They probably store the months as strings rather than integers or enums with string representations/localizations

DM_Gold,
@DM_Gold@lemmy.dbzer0.com avatar

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

InverseParallax,

Imagine being able to autocomplete months.

flamingarms,

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

kite,

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

darvocet,

For organization?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • programmerhumor@lemmy.ml
  • ethstaker
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • ngwrru68w68
  • cubers
  • thenastyranch
  • Youngstown
  • rosin
  • slotface
  • cisconetworking
  • mdbf
  • kavyap
  • Durango
  • megavids
  • khanakhh
  • GTA5RPClips
  • anitta
  • osvaldo12
  • everett
  • normalnudes
  • tester
  • tacticalgear
  • provamag3
  • modclub
  • Leos
  • JUstTest
  • lostlight
  • All magazines