You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sylvain MOUQUET (JIRA)" <ji...@apache.org> on 2010/08/17 10:36:21 UTC
[jira] Closed: (WICKET-2995) DateTime bug with a date pattern
without separator
[ https://issues.apache.org/jira/browse/WICKET-2995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sylvain MOUQUET closed WICKET-2995.
-----------------------------------
Fix Version/s: 1.4.10
Resolution: Fixed
> 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
> Assignee: Martin Grigorov
> Fix For: 1.4.10
>
> Attachments: demo_bug.html, wicket-date-patch.js
>
> Original Estimate: 0.17h
> Remaining Estimate: 0.17h
>
> 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.