Kaptaan Jack@lemmy.ml to Programmer Humor@lemmy.ml · 1 year agoAlphabetically sorted months. But WHY?lemmy.mlimagemessage-square40fedilinkarrow-up1666arrow-down115
arrow-up1651arrow-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-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