thymeleaf / thymeleaf-extras-java8time

Thymeleaf "extras" dialect for formatting and creating Java 8 Time API objects
Apache License 2.0
106 stars 34 forks source link

Allows to specify FormatStyle.FULL/LONG/MEDIUM/SHORT to format TemporalObjects #19

Closed foal closed 5 years ago

foal commented 6 years ago

I need to format LocalDate according to the document locale as a SHORT form. Now it is hardcoded as LONG

jmiguelsamper commented 5 years ago

'SHORT', 'MEDIUM', 'LONG' and 'FULL' can now be specified as patterns to use the standard java.time.format.FormatStyle patterns.