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
if ( count > 0 )
		{
			toAppendTo.append( subReplaceDateFormat( prevCh, count ) );
		}
		return toAppendTo.toString( );
	}
	/**
	 * only used in the method replaceDataFormat().
	 */
	private static String subReplaceDateFormat( char ch, int count )
	{
		String current = "";
		int patternCharIndex = -1;
		String datePatternChars = "GyMdkHmsSEDFwWahKz";
		if ( ( patternCharIndex = datePatternChars.indexOf( ch ) ) == -1 )
		{
			for ( int i = 0; i < count; i++ )
			{
				current += "" + ch;
			}
			return current;
		}
		switch ( patternCharIndex )
		{
			case 0 : 
				current = "";
				break;
			case 1 : 
				for ( int i = 0; i < count; i++ )
				{