[jira] [Updated] (OFBIZ-3739) PrepareFind Service Ignores timeZone Parameter When Performing Date/Time Calculations

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-3739) PrepareFind Service Ignores timeZone Parameter When Performing Date/Time Calculations

Nicolas Malin (Jira)

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

Supatthra Nawicha updated OFBIZ-3739:
-------------------------------------
    Attachment: OFBIZ-3739.patch

> PrepareFind Service Ignores timeZone Parameter When Performing Date/Time Calculations
> -------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3739
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3739
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release Branch 10.04, Trunk
>            Reporter: Adrian Crum
>         Attachments: OFBIZ-3739.patch
>
>
> In FindServices.java, the prepareFind service calls the createCondition method, which in turn calls the dayStart method - a method that calculates the start of the day based on a Timestamp value. That calculation ignores the timeZone parameter passed to the prepareFind service, so the results are inaccurate.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)