Perhaps JEP 252 (https://openjdk.org/jeps/252) as mentioned in the JDK 9
release notes.
-Joe
On 7/10/2023 12:08 PM, Bruno Borges wrote:
Hi all,
Was there any change to Date Time Formatter API that made the "EEEE"
and the "MMMM" (and other 4-letter patterns) change from Java 8 to 11+ ?
In Java 8, "EEEE" with locale en_US correctly gives the FULL day of
week, e.g., "Monday".
In Java 11 and 17 (two I've tested), the same input will give "Mon".
I've also tested for "MMMM" expecting "July" (as in 8), but in 11/17 I
get only "Jul".
Here's a test case:
brunoborges/date-formatting-bug@f8f84a1 (github.com)
<https://github.com/brunoborges/date-formatting-bug/actions/runs/5511890139/jobs/10048031299>
Thanks,
Bruno