From the Struts has detected an unhandled exception:

*Messages*:     

1. Too many pattern letters: a
2. JSPException including path '/WEB-INF/jsp/my.jsp'.
3. .......

*File*:         java/time/format/DateTimeFormatterBuilder.java
*Line number*:  1,774


although if I test 'EEEE MMMM dd, hh:mm aa' using SimpleDateFormat it works

Tuesday February 22, 12:00 PM



-------- Forwarded Message --------
Subject:        Re: [TEST] Struts 2 ver. 6.0.0-RC2 test build is ready
Date:   Fri, 4 Feb 2022 09:30:47 +0000
From:   Greg Huber <gregh3...@gmail.com>
To:     dev@struts.apache.org



I have noticed that the date format only now wants a single a. I get an error when using two.

<s:date name="#my.myDate" format="EEEE MMMM dd, hh:mm aa" /> error

<s:date name="#my.myDate" format="EEEE MMMM dd, hh:mm a" /> works

Checking previous commits it's always been aa ie two.

On 29/01/2022 16:49, Lukasz Lenart wrote:
Hello,

This is a second RC of incoming Struts 6.x with tons of changes.
Please take a time and test the bits - any help is appreciated. Please
report any problems you will spot.

Staging Maven repo
https://repository.apache.org/content/groups/staging/

Standalone artifacts
https://dist.apache.org/repos/dist/dev/struts/6.0.0-RC2/

Release notes
https://cwiki.apache.org/confluence/display/WW/Version+Notes+6.0.0


Kind regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to