dm3 / clojure.java-time

Java 8 Date-Time API for Clojure
MIT License
467 stars 47 forks source link

make format string examples less confusing #66

Closed timrobinson33 closed 3 years ago

timrobinson33 commented 3 years ago

@vandr0iy recently made a commit that fixes the confusing use of "mm" in the custom format string, but didn't spot that both the DD and YYYY specifiers are confusing as well - DD is day-of-year and YYYY is week-based year. almost certainly you would want to use yyyy/MM/dd.

I've stripped the year part out of the second example completely - I can't see you'd ever be likely to want years/hours/minutes or use 3 'Y's

dm3 commented 3 years ago

It's an example format string, but I see your point :) Thanks!