I am trying to keep the Date format to Standard locale "en" regardless of whatever the locale is but it's changing as the locale get change. I am using thymeleaf 3 , for simple text display field i fixed it as note* i am using java.util.date
<td th:text="${#temporals.format(T(java.time.LocalDate).of(#dates.year(birthdate), #dates.month(birthdate), #dates.day(birthdate)), 'dd-MM-yyyy', new java.util.Locale('en', 'EN'))}"></td>
<input type="date" class="form-control" required="required" th:field="*{{birthDate}}" name="birthDate">
<input type="date" class="form-control" required="required" th:field="*{{registrationDate}}" name="registrationDate">

any help would be appreciated ! thanks
I fixed it for the input fields too
now i have fixed date pattern no matter whatever the locale is . .