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 09:58:24 UTC

[jira] Created: (WICKET-2995) DateTime bug with a date pattern without separator

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.


[jira] Updated: (WICKET-2995) DateTime bug with a date pattern without separator

Posted by "Sylvain MOUQUET (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-2995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sylvain MOUQUET updated WICKET-2995:
------------------------------------

    Attachment: demo_bug.html
                wicket-date-patch.js

the wicket-date-patch contains the method patched
the demo_bug is a demonstration of the current bug

> 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
>         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.


[jira] Closed: (WICKET-2995) DateTime bug with a date pattern without separator

Posted by "Sylvain MOUQUET (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Commented: (WICKET-2995) DateTime bug with a date pattern without separator

Posted by "Sylvain MOUQUET (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12899338#action_12899338 ] 

Sylvain MOUQUET commented on WICKET-2995:
-----------------------------------------

this bug is fixed in the Wicket 1.4.10 i will try it in my project

> 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.


[jira] Commented: (WICKET-2995) DateTime bug with a date pattern without separator

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12899322#action_12899322 ] 

Martin Grigorov commented on WICKET-2995:
-----------------------------------------

Just to let you know that Wicket 1.3.x wont be fixed for this problem. 1.3.x receives only security fixes.
If you need this fix then you'll have to upgrade to latest 1.4.x version.

> 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
>         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.


[jira] Assigned: (WICKET-2995) DateTime bug with a date pattern without separator

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-2995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov reassigned WICKET-2995:
---------------------------------------

    Assignee: Martin Grigorov

> 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
>         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.