Bug 206092 Excel doesn't render well a custom datetime format yyyy-MM-dd hh:mm a
engine/org.eclipse.birt.report.engine.emitter.prototype.excel/src/org/eclipse/birt/report/engine/emitter/excel/ExcelUtil.java
}
    	else if(val instanceof Date)
    	{
    	   return Data.DATE;	
    	}
    	else if (val instanceof Calendar)
    	{
    	   return Data.CALENDAR;	
    	}
    	else if(val instanceof CDateTime)
    	{
    	   return Data.CDATETIME;	
    	}
    	else 
    	{
    	   return Data.STRING;	
    	}
    }
	
    public static String getPattern(Object data, String val)
    {
    	if(val != null && data instanceof Date) {
    	   if (val.indexOf( "kk:mm" ) >= 0){
    		   return "Short Time";	   
    	   }
    	   else if(val.startsWith( "ahh" ))
    	   {
    		   return "Long Time";   
    	   }
    	   else if(!val.startsWith( "ahh" ) && val.indexOf( "ahh" ) >= 0)