wt., 22 lut 2022 o 15:07 Greg Huber <gregh3...@gmail.com> napisał(a): > > Date is fine. > > The org.apache.struts2.components.Date class can handle other types ie > LocalDateTime, LocalDate, Instant bean types, I can only test the > java.util.Date variant. > > (..saying that, it would most probably work as LocalDate is the only new > variant introduced on this change.) > > It works well for me. Thanks.
Ah, ok! The main change here is to support for different formatters, the case you had reported with "aa" vs "a": <s:date name="#my.myDate" format="EEEE MMMM dd, hh:mm aa" /> <-- this will work with simple formatter <s:date name="#my.myDate" format="EEEE MMMM dd, hh:mm a" /> <-- this will work with date/time formatter If you are good, I will merge this PR and forge a new RC :) 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