Bug 202121 setDateFormat does not working
If you want to set date format of the table column style you have to use setDateTimeFormatCategory and setDateTimeFormat instead of setDateFormatCategory and setDateFormat. If you will try to use setDateFormatCategory in the first case in xml-source you will see that your style contains dateFormat property. This property is not working at all, in the second case in xml-source you will see that your style contains dateTimeFormat property. I think it will be better if the result of setDateTimeFormatCategory and setDateFormatCategory will be the same.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/presentation/LocalizedContentVisitor.java
}
	}
	public Object visitText( ITextContent text, Object value )
	{
		handleOnRender( text );
		return value;
	}
	/**
	 * handle the foreign content object.
	 * 
	 * Foreign content can be created by following design element:
	 * <li> Text(HTML). It will create a TEMPLATE_TYPE foreign object.
	 * <li> MultiLine(HTML). It will create a HTML_TYPE forign object
	 * <li> MultiLine(PlainText).It will create a TEXT_TYPE foreign object
	 * <li> Extended item. It will create a
	 * TEXT_TYPE/HTML_TYPE/IMAGE_TYPE/VALUE_TYPE foreign object.
	 * 
	 */
	public Object visitForeign( IForeignContent foreignContent, Object value )
	{
		IReportContent reportContent = getReportContent( );
		
		String rawFormat = foreignContent.getRawType( );
		Object rawValue = foreignContent.getRawValue( );
		if ( IForeignContent.TEMPLATE_TYPE.equals( rawFormat ) )
		{
			handleOnRender( foreignContent );
			processTemplateContent( foreignContent );
			return foreignContent;
		}