/
can’t be used in a filename on most common filesystems so that doesn’t enter the conversation the real question is if you include -
as a delimiter at all.
20241212
or 2024-12-12
? They are fixed width fields so I skip the delimiter when I’m storing data* but tend to use the delimiter when writing for a general audience.
* Y10k problem right here!
CarbonatedPastaSauce@lemmy.world 1 week ago
What programmer in their right mind uses / instead of -?
I use the delimiter when writing out log files when I want hour or minute in the logfile name. SantaChimneyLog_20241225-0312.txt. Otherwise yeah it just gets left off.
Kelly@lemmy.world 1 week ago
ISO 8601 gets a bit weird with times.
Using
T
to separate the date and time components looks a but strange but is unambiguous and widely compatible.Then the
:
delimiter between the time components is just impractical because, well again we put data in files and files live in filesystems. Any special characters that can’t be used in filenames on all major filesystems is a nonstarter.