It’s just a filename, calm down. The created by date is tracked by the file system and the repo.
- 0 Posts
- 7 Comments
Joined 2 months ago
Cake day: June 4th, 2025
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
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.
Here you go gramps:
(shortD) => { return parseInt(shortD.slice(0, 2), 10) > 50 ? "19" + shortD : "20"+shortD; }
ISO 8601 is
YYYYMMDD
(orYYYY-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?
absentbird@lemmy.worldto politics @lemmy.world•Should Jon Stewart Run for President in 2028? The Movement Is Growing — and It’s No Longer a Joke1·1 day agoThey already live in different states; New York for AOC, New Jersey for John Stewart. They both start with ‘New’, but they are not the same state.
I understand you feel very strongly about four digit years, but I really don’t see any situation that I couldn’t sort out with a simple script.
Usually I don’t put dates in file names in the first place, but when I do I use the UTC timestamp; a date without a timezone is inherently fuzzy, and it’s easier to compare and differentiate numerical times.
If someone used two digit years in their naming convention I wouldn’t even blink, let alone get the woodchipper, life is too short to get angry over stuff like that.