We currently have logic in the Thymeleaf templates for formatting java.util.Date objects to strings. This makes the templates more complex and requires us to write acceptance-tests using WebDriver to verify the validity of the formatted dates.
What
This PR moves the formatting of the dates into the DTO assembler-classes in order to simplify the templates and allow us to verify the date formatting using simple unit tests.
Why
We currently have logic in the Thymeleaf templates for formatting java.util.Date objects to strings. This makes the templates more complex and requires us to write acceptance-tests using WebDriver to verify the validity of the formatted dates.
What
This PR moves the formatting of the dates into the DTO assembler-classes in order to simplify the templates and allow us to verify the date formatting using simple unit tests.
(this PR was split out from #59)