-
Notifications
You must be signed in to change notification settings - Fork 811
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Basic LocalDateTime support #532
Basic LocalDateTime support #532
Conversation
What's the status here? Do we still have a problem with |
Don't think so. I did another patch (Apr 22) to remove the !"".equals(globalFormat) check, and the globalDateFormat lookup on the LocalDateTime as it will break it. |
Ok, so only tests need to be fixed |
ok, I will have a look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just one suggestion
core/src/main/java/com/opensymphony/xwork2/conversion/impl/DateConverter.java
Outdated
Show resolved
Hide resolved
LGTM 👍 |
...maybe the formatting should be like java.sql.Timestamp, in line, as it only parses with a yyyy-mm-ddThh:mm:ss. Early days here as its a big topic. |
Add support for LocalDateTime for the LocalDateTime.now() variant. DateTimeFormatter.ISO_LOCAL_DATE_TIME.
See WW-5175