When I run below code in the server, I get period after month.
DateTimeFormatter.ofPattern("dd MMM yyyy").format(LocalDate.parse("2023-04-01"))
01 Apr. 2023
There is a period after month.
But, same code when I run in java main method, it produces expected output.
DateTimeFormatter.ofPattern("dd MMM yyyy").format(LocalDate.parse("2023-04-01"))
01 Apr 2023
Any reason why the first operation produces period?
Is dateTimeFormatter depends on Locale?