Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mtoddsmith
· 4y ago · 0 comments
YYYY-DD-MM as a folder / filename does not sort correctly. Not a fan.
I much prefer YYYY-MM-DD for its sorting behavior.
Comments
[–]
codetrotter
4y ago
Sorry, that was a typo. I meant to say YYYY-MM-DD. Edited now.
[–]
eurasiantiger
4y ago
Important note: while a datestamp like YYYY-MM-DD does sort correctly, a datetime stamp such as YYYY-MM-DDThh-mm-ss does not because of DST and negative leap seconds.