DateTime bug with a date pattern without separator
---------------------------------------------------
Key: WICKET-2995
URL: https://issues.apache.org/jira/browse/WICKET-2995
Project: Wicket
Issue Type: Bug
Components: wicket-datetime
Affects Versions: 1.3.7
Environment: all
Reporter: Sylvain MOUQUET
HI,
I am using wicket-datetime-1.3.7.jar
When i use a datePattern with a separator dd/MM/yyyy, i get 01/01/2010, it's OK.
But when i use the datePattern ddMMyyyy, i get 1110 and it's not correct
The bug is in the substituteDate() method of the wicket-date.js file.
I have fixed it. I have attached the fixed method and an example of the problem
Thanks
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.