Project: Birt
Bug 267570 BirtDuration.month("P1Y2M3DT10H30M") result is incorrect
Reported: 2009-03-08 23:41:13 | Status: closed fixed

Description: BirtDuration.month("P1Y2M3DT10H30M") result is incorrect Build number: 2.5.0.v20090309-0630 Steps to reproduce: 1, New a data item 2, Specify the expression: BirtDuration.month("P1Y2M3DT10H30M") 3, Preview Expected result: Result is 2 Actual result: Result is 30 Error log:

Files changed in fix:
data/org.eclipse.birt.core.script.function/src/org/eclipse/birt/core/script/function/bre/BirtDuration.java