You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2022/02/23 09:18:45 UTC
[struts] 01/01: Merge pull request #529 from apache/WW-5016-uses-proper-format
This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts.git
commit 3e65ec1687d99cc5de18de9e77e718d965841858
Merge: 059514d 59932a5
Author: Lukasz Lenart <lu...@apache.org>
AuthorDate: Wed Feb 23 10:18:37 2022 +0100
Merge pull request #529 from apache/WW-5016-uses-proper-format
[WW-5016] Adds support for LocalDate and adjusts tests to use the new Java 8 API
.../StrutsDefaultConfigurationProvider.java | 6 +
.../java/org/apache/struts2/StrutsConstants.java | 3 +
.../java/org/apache/struts2/components/Date.java | 119 ++++++-----
.../struts2/components/date/DateFormatter.java | 40 ++++
.../components/date/DateTimeFormatterAdapter.java | 43 ++++
.../components/date/SimpleDateFormatAdapter.java | 44 ++++
.../config/StrutsBeanSelectionProvider.java | 5 +-
.../org/apache/struts2/default.properties | 6 +
core/src/main/resources/struts-default.xml | 5 +-
.../org/apache/struts2/components/DateTest.java | 90 ++++++++
.../apache/struts2/views/jsp/ui/DateTagTest.java | 228 +++++++++++++--------
11 files changed, 443 insertions(+), 146 deletions(-)