Yeah, and we’ll all be dead, so it’s a silly point for me to raise, but it’ll be far clearer with dashes.
Also if you accidentally omit a leading zero with the dashes, it’s always unambiguous to fix, not so without.
Anyway, why not make it easier for the humans to read the date? Humans are the only ones who it affects. The computer doesn’t care what order the filenames are in or what the numbers in the filename signifies.
YYYYMMDD is the best. Easiest to sort.
you forgot this: –
No
YYYY-MM-DD is easiest to sort, won’t break in the year 10000 and is easy for humans to read quickly.
If you add a fifth digit it’s going to break sorting no matter what. Assuming you don’t go back and add a 0 to all the 4 digits.
Yeah, and we’ll all be dead, so it’s a silly point for me to raise, but it’ll be far clearer with dashes.
Also if you accidentally omit a leading zero with the dashes, it’s always unambiguous to fix, not so without.
Anyway, why not make it easier for the humans to read the date? Humans are the only ones who it affects. The computer doesn’t care what order the filenames are in or what the numbers in the filename signifies.