Project: Birt
Bug 217640 XML driver ISO date format parsing problem.
Reported: 2008-02-04 02:03:02 | Status: closed fixed

In XML driver, when parse date(yyyy-mm-dd) from a string with ISO 8601 format and negative GMT info, problem will occur. A sample string could be: 1994-11-05T08:15:30-05:00 This is caused by cleanDate(String) method in DateFormatISO8601 class. The last "-" has not been cleaned correctly. This problem also exists in flat file driver.

Files changed in fix:
core/org.eclipse.birt.core.tests/test/org/eclipse/birt/core/data/DataTypeUtilTest.java core/org.eclipse.birt.core/src/org/eclipse/birt/core/data/DateFormatISO8601.java