Formatting date in Thymeleaf

前端 未结 5 1295
伪装坚强ぢ
伪装坚强ぢ 2020-12-04 23:22

I\'m brand new to Java/Spring/Thymeleaf so please bear with my current level of understanding. I did review this similar question, but wasn\'t able to solve my problem.

5条回答
  •  攒了一身酷
    2020-12-05 00:02

    If you want to use converters in th:text attributes, you have to use double-bracket syntax.

    
    

    (They are automatically applied to th:field attributes)

    http://www.thymeleaf.org/doc/tutorials/2.1/thymeleafspring.html#double-bracket-syntax

提交回复
热议问题