Moved Thymeleaf datetime formatting to its own shared fragment