Re: Formatter of LocalDateTimeStringConverter

2021-08-08 Thread Dan Howard
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.

Formatter of LocalDateTimeStringConverter

2021-08-06 Thread Nir Lisker
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