Kaptaan Jack@lemmy.ml to Programmer Humor@lemmy.ml · 1 year agoAlphabetically sorted months. But WHY?lemmy.mlimagemessage-square38fedilinkarrow-up1449arrow-down110
arrow-up1439arrow-down1imageAlphabetically sorted months. But WHY?lemmy.mlKaptaan Jack@lemmy.ml to Programmer Humor@lemmy.ml · 1 year agomessage-square38fedilink
minus-squareVirtualAlias@reddthat.comlinkfedilinkarrow-up5·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-up7·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