← Back to context

Comment by zz865

4 years ago

Agreed on dates ordering problem but 20210101 is so much easier to type.

Years that end in a 1 are awful when doing this, especially in October and November. We've had 20211001, 20211010, 20211101, 20211110, and now today 20211111.

I just tend to use $(date -Is) so I don't need to think what date it happens to be today. I guess -Id would work if you don't want the time part.