You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Bernard (JIRA)" <ji...@apache.org> on 2015/02/26 01:49:07 UTC
[jira] [Updated] (WICKET-5842) DateTextField uses wrong locale
[ https://issues.apache.org/jira/browse/WICKET-5842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bernard updated WICKET-5842:
----------------------------
Attachment: testcase.zip
quickstart in zip file
> 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
> Attachments: testcase.zip
>
>
> 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)