thymeleaf / thymeleaf-extras-java8time

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

Fixing conversion of OffsetDateTime temporal objects #21

Closed aparsons closed 5 years ago

aparsons commented 5 years ago

Adds conversion support for OffsetDateTime objects. Includes a test case. Previously the IllegalArgumentException was thrown when trying to format OffsetDateTime objects.

aparsons commented 5 years ago

I accept the contributor terms specified at https://github.com/thymeleaf/thymeleaf-dist/blob/master/CONTRIBUTING.markdown

aparsons commented 5 years ago

I wrote this using Java 8, but retested the code to confirm it works for OpenJDK 11.

jmiguelsamper commented 5 years ago

Thank you Adam!