You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Anne Jessel (JIRA)" <ji...@apache.org> on 2009/07/22 03:15:14 UTC

[jira] Updated: (OFBIZ-2748) Wrong calculation in UtilDateTime getIntervalInDays

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

Anne Jessel updated OFBIZ-2748:
-------------------------------

    Attachment: castbug.patch

This patch (castbug.patch) fixes the problem

> Wrong calculation in UtilDateTime getIntervalInDays
> ---------------------------------------------------
>
>                 Key: OFBIZ-2748
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2748
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release Branch 9.04
>         Environment: Sun Java 6, Linux, Postgres 
>            Reporter: Anne Jessel
>         Attachments: castbug.patch
>
>
> If the two timestamps passed to getIntervalInDays are more than Integer.MAX_VALUE nanoseconds apart, the returned value is incorrect.

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