this post was submitted on 15 Aug 2025
784 points (98.4% liked)

Programmer Humor

25730 readers
1197 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] absentbird@lemmy.world 20 points 1 day ago (24 children)

ISO 8601 is YYYYMMDD (or YYYY-MM-DD in extended format)

Are you really going to wood chipper someone for leaving off the leading 20? I think we can safely infer the century and millennium with a high confidence, why not trade them for two extra name characters?

[–] 5C5C5C@programming.dev 8 points 20 hours ago (2 children)

I recently had an accountant file something for the IRS that was dated as expiring in 1940 when it should've been 2040. I had to catch it myself after reading through 70 pages of dense forms before it was sent off, and I could've easily missed it.

Digital records have existed long enough now that it's downright irresponsible to leave off the century for anything where having an accurate date might even slightly matter.

[–] absentbird@lemmy.world 4 points 19 hours ago (1 children)

The exact date of creation is usually preserved in the filesystem, we're just talking about what to name the documents themselves. The filename should be short and to the point, it gets truncated if it's too long, and on windows you only have 260 characters for the entire path to the file plus the name.

[–] 5C5C5C@programming.dev 6 points 19 hours ago

If two characters are hurting your 260 character limit then you have other more serious problems to contend with.

load more comments (21 replies)