Bernard created WICKET-5842:
-------------------------------

             Summary: DateTextField uses wrong locale
                 Key: WICKET-5842
                 URL: https://issues.apache.org/jira/browse/WICKET-5842
             Project: Wicket
          Issue Type: Bug
          Components: wicket-extensions
    Affects Versions: 6.19.0
         Environment: Windows 7, JDK 1.8, Wicket 6.19.0, Locale.getDefault() is 
en_NZ
            Reporter: Bernard


I am getting the wrong date format, using both 

org.apache.wicket.datetime.markup.html.form.DateTextField

org.apache.wicket.extensions.markup.html.form.DateTextField

with org.apache.wicket.extensions.yui.calendar.DatePicker

Expected date format: dd/mm/yy
Actual date format: mm/dd/yy

My apologies if I am misunderstanding the API.

My goal is to get minimal robust date picker functionality on a wire frame for 
agile development, without maintenance risk, out of the box. Wicket standard 
practice in other words.

If that means that I get 3 list boxes with year, month and day that would be 
acceptable as a workaround.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to