[Thymeleaf] mysql datetime 화면 표시

- maven library 추가


<dependency>

    <groupId>org.thymeleaf.extras</groupId>

    <artifactId>thymeleaf-extras-java8time</artifactId>

    <version>2.1.0.RELEASE</version>

</dependency>



- html 


<p th:text="${#temporals.format(data,'yyyy-MM-dd HH:mm')}"></p>