That does look weird. It's the same looking back at the history.
On 8/6/2021 2:21 PM, Nir Lisker wrote:
I'm looking at [1]. The logic to create the formatter seems fishy. First, a formatter is created. Then, if dateStyle is null, it tries to create a new formatter that has its year digits fixed. However, this ignores the created formatter. Is this correct behavior and it's just the flow control that is off? [1] https://github.com/openjdk/jfx/blob/ba61a17307d48d373fd8faa169ed16821e81c0fd/modules/javafx.base/src/main/java/javafx/util/converter/LocalDateTimeStringConverter.java#L261