this post was submitted on 18 Mar 2024
798 points (99.0% liked)

Technology

34965 readers
162 users here now

This is the official technology community of Lemmy.ml for all news related to creation and use of technology, and to facilitate civil, meaningful discussion around it.


Ask in DM before posting product reviews or ads. All such posts otherwise are subject to removal.


Rules:

1: All Lemmy rules apply

2: Do not post low effort posts

3: NEVER post naziped*gore stuff

4: Always post article URLs or their archived version URLs as sources, NOT screenshots. Help the blind users.

5: personal rants of Big Tech CEOs like Elon Musk are unwelcome (does not include posts about their companies affecting wide range of people)

6: no advertisement posts unless verified as legitimate and non-exploitative/non-consumerist

7: crypto related posts, unless essential, are disallowed

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Fisch@discuss.tchncs.de 56 points 8 months ago (1 children)

it has stupid things like weekdays sorted alphabetically

Holy shit, that's stupid. Why would you even do this in the first place?! I can't comprehend how anyone could come to the conclusion that that's a good way to sort it.

[–] franklin@lemmy.world 53 points 8 months ago* (last edited 8 months ago) (1 children)

alphabetically was probably the default sorting method for an array of data and they didn't bother to fix it, just my guess.

[–] TheBat@lemmy.world -2 points 8 months ago (1 children)

Then why not use labels?

Value="1Monday" Label="Monday"

[–] ICastFist@programming.dev 18 points 8 months ago

That's even more work than skipping the "weekdays" array wherever the sorting happens