Quantcast

Support for Java 8 time API

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Support for Java 8 time API

Zemi
Administrator
Hello,

We've just published the first stable version (2.1.0.RELEASE) of a new Thymeleaf dialect providing basic support for the Java 8 time API.

The dialect adds a #temporals object which can be used in your templates to format and create Java 8 time objects (for example, LocalDate or LocalDateTime).

It is already on Maven central with the following id:
    <dependency>
        <groupId>org.thymeleaf.extras</groupId>
        <artifactId>thymeleaf-extras-java8time</artifactId>
        <version>2.1.0.RELEASE</version>
    </dependency>

You can also check out the documentation at the github repository page https://github.com/thymeleaf/thymeleaf-extras-java8time

Regards,
   Zemi

 
Loading...