You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Gatos <eg...@gmail.com> on 2010/02/19 20:01:10 UTC
DateField problem
Hello,
I have a strange problem if I enter to a date field date, from example
2.3.2110 then it will be converted to 2.3.10.
Does anyone know how to solve the problem?
Thank you
Re: DateField problem
Posted by Cserep Janos <cs...@szeretgom.hu>.
I've started to see this after upgrading from 1.4.3 to 1.4.6, it is
causing me trouble right now... did you ever file a ticket in jira?
In wicket-date.js I see this line which changes 2010 to 10:
if(datePattern.match(/yy+/)) year =
Wicket.DateTime.padDateFragment(year % 100);
This is a bug introduced by http://issues.apache.org/jira/browse/WICKET-2648
Now even though the pattern has "yyyy" in it, the year is still truncated.
I'll report it immediately.
2010/2/19 Gatos <eg...@gmail.com>:
> Hello,
>
> I have a strange problem if I enter to a date field date, from example
> 2.3.2110 then it will be converted to 2.3.10.
>
> Does anyone know how to solve the problem?
>
> Thank you
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org