Kaptaan Jack@lemmy.ml to Programmer Humor@lemmy.ml · 1 year agoAlphabetically sorted months. But WHY?lemmy.mlimagemessage-square40fedilinkarrow-up1669arrow-down115
arrow-up1654arrow-down1imageAlphabetically sorted months. But WHY?lemmy.mlKaptaan Jack@lemmy.ml to Programmer Humor@lemmy.ml · 1 year agomessage-square40fedilink
minus-squareVirtualAlias@reddthat.comlinkfedilinkarrow-up6·1 year agoYeah, 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.
minus-squareQuaternionsRock@lemmy.worldlinkfedilinkarrow-up6·edit-21 year agoOr shitty SQL. SELECT MAX(day_of_month), month FROM why_does_this_table_exist GROUP BY month
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.
Or shitty SQL.
SELECT MAX(day_of_month), month FROM why_does_this_table_exist GROUP BY month