I read some good posts, like this one , that explain the method of getting sequence numbers when setting int
.
Now I have a LocalDate object, and I can format the dates using any of the DateTimeFormat
templates in my Thymeleaf template. An example looks something like this:
<strong th:text="${item.date} ? ${#temporals.format(item.date, 'dd')}"></strong>
Question: How can I or perhaps the best way to achieve similar results with the post that I linked to above in Thymeleaf.
I am not an experienced Java developer, so it would be very helpful if you were as thorough as you could, explaining the answer.
source share