this post was submitted on 26 Oct 2026
526 points (96.1% liked)

Programmer Humor

33796 readers
2179 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] epyon22@sh.itjust.works 13 points 4 hours ago (3 children)

Because one lives the other should not long live Y-M-D

[–] glimse@lemmy.world 13 points 3 hours ago* (last edited 2 hours ago) (1 children)

NO. You need a character per digit and you always want the leading 0 shown.

YYYY-MM-DD

[–] BigPotato@lemmy.world 2 points 3 hours ago (1 children)

At least it makes my folders really easy to sort through...

[–] glimse@lemmy.world 6 points 3 hours ago (1 children)

Only if you leave the leading zeros!

[–] arty@feddit.org 1 points 1 hour ago (2 children)

…or your file manager is smart enough to do numeric sorting

[–] pupbiru@aussie.zone 2 points 1 hour ago (1 children)

you should never make the assumption that software you use is smart, or even not complete garbage

…and file managers aren’t the only things that display lists of files. low-level tooling should not be “smart” beyond the most basic sorting without specifically being told first

[–] arty@feddit.org 1 points 1 hour ago

I only objected to the use of “only” in the comment above. I’d like to object to "never" as well.

[–] glimse@lemmy.world 1 points 1 hour ago (1 children)

...And you assume you will only ever look at those files with that file manager forever...

There is no downside to writing the leading zeroes pretty much anywhere except when aesthetics matter (event flyers, etc)

[–] arty@feddit.org 1 points 1 hour ago

I am a big fan of ISO8601, and I only objected to your use of "only" in the comment above.

[–] abbadon420@sh.itjust.works 10 points 4 hours ago

ISO 8601 is the only correct way.

[–] blackshirt@lemmy.world 1 points 3 hours ago (1 children)

OP's graph uses slashes.

Dashes would remove all the confusion.

[–] zqps@sh.itjust.works 4 points 2 hours ago* (last edited 2 hours ago) (1 children)

No because it's the global format that typically uses periods.

D.M.Y (normal)
Y-M-D (superior)
M/D/Y (mental illness)

Mixing up the formats and denominators makes this mess even worse.

[–] pupbiru@aussie.zone 2 points 1 hour ago

you should also always specify YYYY-MM-DD because often M and D ignores leading zeros, YY means the 2 digit suffix, and Y… well, i don’t even know what that is but i’m sure it’s something less specific than YYYY

if we’re going to be picky about being clear about things, let’s be truly clear about things