Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.4.17
-
None
Description
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.