News for hackers. Stuff that matters.
Re:Strftime's alpha-sorted man page vs. well-meaning people by michaelt on Sunday May 13, 2018 @07:00AM (#17058305)

  What do you propose instead?
Java provides a set of predefined date formatters in the standard library [1] - like 'ISO_LOCAL_DATE_TIME' and 'RFC_1123_DATE_TIME'

Of course, they don't cover every possibility - if you want milliseconds, you've got to roll your own :)

[1] https://docs.oracle.com/javase/8/docs/api/java/time/format/D...

Re:Strftime's alpha-sorted man page vs. well-meaning people by hyperman1 on Sunday May 13, 2018 @07:06AM (#17058329)
Very true. Another example is the jquey UI date picker which stores nice defaults in the i18n files.

I would classify these as storing the knowledge in the ecosystem.

Re:Strftime's alpha-sorted man page vs. well-meaning people by bobbyi_settv on Sunday May 13, 2018 @12:34PM (#17059742)
toString on a java.time.instant gives it in ISO format without even needing to bother with formatter objects.