You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2010/04/26 20:02:32 UTC
[jira] Resolved: (WICKET-2808) Wrong dates with StyleDateConverter
with Format "M-"
[ https://issues.apache.org/jira/browse/WICKET-2808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-2808.
-----------------------------------
Assignee: Igor Vaynberg
Resolution: Won't Fix
we are limited in terms of what YUI calendar understand, please do not use the shortcut formats.
> Wrong dates with StyleDateConverter with Format "M-"
> -----------------------------------------------------
>
> Key: WICKET-2808
> URL: https://issues.apache.org/jira/browse/WICKET-2808
> Project: Wicket
> Issue Type: Bug
> Components: wicket-datetime
> Affects Versions: 1.4.7
> Environment: Windows, Tomcat
> Reporter: Peter Diefenthäler
> Assignee: Igor Vaynberg
>
> Using a Date Text Field with StyleDateConverter and Formatstring "M_" like
> DateTextField datehField = (new DateTextField("cdate",
> new PropertyModel<Date>(this, "cDate"), new StyleDateConverter("S-", true)));
> results in a wrong Date: Entering 12.12.12 results in 14.12.0012. The Day is wrong and the year should be 2012. Entering 12.12.2012 results in a correct date.
> If you use the Format option "S-", both date conversions look fine.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.