You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2007/10/29 22:25:50 UTC

[jira] Closed: (OFBIZ-1363) UtilDateTime.toDate(int, int, int, int, int, int) does not initialise milisecond part of created date

     [ https://issues.apache.org/jira/browse/OFBIZ-1363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-1363.
----------------------------------

       Resolution: Fixed
    Fix Version/s: Release Branch 4.0
                   SVN trunk

Thanks Markus,

Your patch is in trunk revision: 589862 , release 589863


> UtilDateTime.toDate(int, int, int, int, int, int) does not initialise milisecond part of created date
> -----------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1363
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1363
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>            Reporter: Markus Studer
>            Assignee: Jacques Le Roux
>            Priority: Trivial
>             Fix For: SVN trunk, Release Branch 4.0
>
>         Attachments: UtilDateTime.diff
>
>
> The public static java.util.Date toDate(int month, int day, int year, int hour, int minute, int second) method does not initialise the milisecond part of the created date predictably (uses the milisecond part of the current system time). This can lead to confusing results when comparing dates as the dates created with this method usually contain a milisecond part.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.