Bug 210720 [Automation][Acceptance]Date is displayed as datetime when export report to XLS
Description: Date is displayed as datetime when export report to XLS. Test Date: 20071123 Test Build: BIRT2.3.0 Daily Build: v20071123-0800 Step to reproduce: 1. Use the report attached 2. Export the report to XLS Expect Result: Date should be displayed as date type Actual Result: Date is displayed as datetime.
engine/org.eclipse.birt.report.engine.emitter.prototype.excel/src/org/eclipse/birt/report/engine/emitter/excel/ExcelUtil.java
package org.eclipse.birt.report.engine.emitter.excel;
import java.util.List;
import java.text.NumberFormat;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.Calendar;
import java.sql.Time;
import java.util.Date;
import java.lang.Number;
import java.lang.String;
import org.eclipse.birt.report.engine.emitter.excel.GroupInfo.Position;
import org.eclipse.birt.report.engine.ir.DimensionType;
import org.eclipse.birt.core.format.DateFormatter;
import org.eclipse.birt.core.format.StringFormatter;
import org.eclipse.birt.core.format.NumberFormatter;
import org.eclipse.birt.chart.util.CDateTime;
import com.ibm.icu.text.DecimalFormat;
import com.ibm.icu.text.SimpleDateFormat;
public class ExcelUtil