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
current = "";
				break;
			default :
				
				
				
				
				
				current = "";
				break;
		}
		return current;
	}
       
    public static String getPattern(Object data, String val)
    {
    	if(val != null && data instanceof Date) {
    	   return replaceDateFormat(val);   
    	}
    	else if(val == null && data instanceof Time) {
    		return "Long Time";
    	}
    	else if(val == null && data instanceof java.sql.Date) 
    	{
    		return "mmm d, yyyy hh:mm AM/PM";
    	}
    	else if(val == null && data instanceof java.util.Date) 
    	{
    		return "mmm d, yyyy hh:mm AM/PM";
    	}