<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>Perhaps JEP 252 (<a class="moz-txt-link-freetext" href="https://openjdk.org/jeps/252">https://openjdk.org/jeps/252</a>) as mentioned in
the JDK 9 release notes.</p>
<p><br>
</p>
<p>-Joe</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 7/10/2023 12:08 PM, Bruno Borges
wrote:<br>
</div>
<blockquote type="cite" cite="mid:MN2PR21MB14372F87A6D0B81D0831E3AD8530A@MN2PR21MB1437.namprd21.prod.outlook.com">
<style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
<div class="elementToProof" style="font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Hi all,<br>
<br>
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+ ?</div>
<div class="elementToProof" style="font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
In Java 8, "EEEE" with locale en_US correctly gives the FULL day
of week, e.g., "Monday".</div>
<div class="elementToProof" style="font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
In Java 11 and 17 (two I've tested), the same input will give
"Mon".</div>
<div class="elementToProof" style="font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
I've also tested for "MMMM" expecting "July" (as in 8), but in
11/17 I get only "Jul".</div>
<div class="elementToProof" style="font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Here's a test case: </div>
<div class="elementToProof" style="font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<a href="https://github.com/brunoborges/date-formatting-bug/actions/runs/5511890139/jobs/10048031299" id="LPlnk807146" class="ContentPasted0" moz-do-not-send="true">brunoborges/date-formatting-bug@f8f84a1
(github.com)</a></div>
<div class="elementToProof" style="font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Thanks,</div>
<div class="elementToProof" style="font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Bruno<br>
</div>
</blockquote>
</body>
</html>