You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2011/04/05 20:33:05 UTC
[jira] [Commented] (WICKET-3598) DatePicker issues with locale
medium date format
[ https://issues.apache.org/jira/browse/WICKET-3598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13016066#comment-13016066 ]
Martin Grigorov commented on WICKET-3598:
-----------------------------------------
can you provide an application that shows the problems? thanks!
> DatePicker issues with locale medium date format
> ------------------------------------------------
>
> Key: WICKET-3598
> URL: https://issues.apache.org/jira/browse/WICKET-3598
> Project: Wicket
> Issue Type: Bug
> Components: wicket-datetime
> Affects Versions: 1.4.17
> Reporter: Jacek Rogoźnicki
>
> DateTextField as follows: DateTextField d = new DateTextField(id, model, new StyleDateConverter("M-",false));
> Case 1:
> - en-US locale
> - for example DatePicker insert 04 rather than Apr in DateTextField, even though pattern clearly says MMM
> Case 2:
> - pl-PL locale
> - 2010-10-25 is in the DateTextField
> - DatePicker opens on April 2031 rather than October 2010
> I believe the problem lies in wicket-date.js, in functions substituteDate and parseDate.
> I know this might be duplicate of WICKET-2427 and WICKET-2375, but apparently this hasn't been properly fixed yet.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira