Wrong dates with StyleDateConverter with Format "M-"
-----------------------------------------------------
Key: WICKET-2808
URL: https://issues.apache.org/jira/browse/WICKET-2808
Project: Wicket
Issue Type: Bug
Components: wicket-datetime
Affects Versions: 1.4.7
Environment: Windows, Tomcat
Reporter: Peter Diefenthäler
Using a Date Text Field with StyleDateConverter and Formatstring "M_" like
DateTextField datehField = (new DateTextField("cdate",
new PropertyModel<Date>(this, "cDate"), new
StyleDateConverter("S-", true)));
results in a wrong Date: Entering 12.12.12 results in 14.12.0012. The Day is
wrong and the year should be 2012. Entering 12.12.2012 results in a correct
date.
If you use the Format option "S-", both date conversions look fine.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.