[
https://issues.apache.org/jira/browse/WICKET-2808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854030#action_12854030
]
Ralf Ebert commented on WICKET-2808:
------------------------------------
I can confirm this issue, broke my application after updating from 1.4.5 to
1.4.7. Especially mean because you only see this if you use the JS calender to
select a date - hard to spot this in a web test suite.
M- meant DD.MM.YYYY before, and is now DD.MM.YY on the client side. When you
select a current date in the JS calendar, you get 06.04.10 which seems to be
formatted as 06.04.0010 on the server side.
Might be related to the application running with a German locale on server and
client side.
> 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.