Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

YYYY-DD-MM as a folder / filename does not sort correctly. Not a fan.

I much prefer YYYY-MM-DD for its sorting behavior.



Sorry, that was a typo. I meant to say YYYY-MM-DD. Edited now.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: