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/19 21:38:06 UTC
[jira] [Assigned] (WICKET-3598) DatePicker issues with locale
medium date format
[ https://issues.apache.org/jira/browse/WICKET-3598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov reassigned WICKET-3598:
---------------------------------------
Assignee: Martin Grigorov
> 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
> Assignee: Martin Grigorov
> Attachments: fix-WICKET-3598-1-locale.patch, fix-WICKET-3598-2-js-date-format-parse.patch, issue3598.zip, wicket-3598.zip
>
>
> 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