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.
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.