thymeleaf怎么在页面上面格式化时间

th:value="${#dates.format(后端传递的时间,‘yyyy-MM-dd HH:mm:ss’)}"

  

 

原文地址:https://www.cnblogs.com/Coder1988/p/13029216.html