| Summary: | Inconsistent output for BirtDateTime.diffSecond | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Missing name <agl.vijay> | ||||
| Component: | BIRT | Assignee: | Birt-Data-inbox <Birt-Data-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | bluesoldier | ||||
| Version: | 2.5.2 | ||||||
| Target Milestone: | 2.6.2 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | Need-Auto | ||||||
| Attachments: |
|
||||||
|
Description
Missing name
Could you please give me the detail value of your parameter which can reproduce this issue? I tried with 2.5.2 release with below parameter value and did not reproduce the issue: dateFrom:2012-5-13 13:31:00 dateTo:2011-5-13 13:30:00 1) From Date and To Date of Type Date Time 2) Format for these are custom (MM/dd/yyyy hh:mm) Thanks, Vj~ (In reply to comment #2) > 1) From Date and To Date of Type Date Time > 2) Format for these are custom (MM/dd/yyyy hh:mm) > > Thanks, > Vj~ I was using the datetime type and custom format(MM/dd/yyyy hh:mm). Please see my attached report design. Created attachment 195558 [details]
test report
Thanks You Sir, That helps a lot , now only quetion i have is why does it [ BirtDateTime.diffSecond(dateFrom2,dateTo2)] shows -31622400 even though value of to and from date is same. (In reply to comment #5) > Thanks You Sir, > > That helps a lot , now only quetion i have is why does it [ > BirtDateTime.diffSecond(dateFrom2,dateTo2)] shows -31622400 > even though value of to and from date is same. It seems that this is a bug in the 2.5.2 release. But I can not reproduce this issue in the latest 2.6.2 release build. Please have a try with the latest 2.6.2 build. Set as fixed based on comment #6. |