You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Nobutaka Otsuji (JIRA)" <ji...@apache.org> on 2009/02/27 22:31:12 UTC

[jira] Updated: (WICKET-2133) DatePicker inserts incorrect format date

     [ https://issues.apache.org/jira/browse/WICKET-2133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nobutaka Otsuji updated WICKET-2133:
------------------------------------

    Attachment: TestPage.html

> DatePicker inserts incorrect format date
> ----------------------------------------
>
>                 Key: WICKET-2133
>                 URL: https://issues.apache.org/jira/browse/WICKET-2133
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.4-RC2
>         Environment: XP SP3, IE6, Firefox 3
>            Reporter: Nobutaka Otsuji
>         Attachments: TestPage.html, TestPage.java
>
>
> 1. Add DateTextField component with DateConverter overrides 
>    public method "getDatePattern" like below
>    @Override
>    public String getDatePattern() {
>    	return "yyyyMMdd";
>    }
> 2. Popup date picker and select single digit month/day
>    ex. select 2009/01/01 on date picker
> 3. Date picker inserts incorrect format date into a text field.
>    ex.  "20080101" expected but was "200811"
> Maybe it is caused by Javascript functions in 
> org/apache/wicket/extensions/yui/calendar/wicket-date.js,
> Wicket.DateTime.parseDate and Wicket.DateTime.substituteDate. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.