Bug 155660 [regression]DateTime parameter display incorrect value when set format
Description: DateTime parameter display incorrectly Steps to reproduce: 1.Add a DateTime parameter into the report 2.Set the default value as 03/12/2005 10:15:30 AM 3.Change the format to anyone without date (such as Short time or medium time) 4.preview Expected result: Display correctly(like 03/12/2005 10:15:30 AM ) Actual result: wrong display (like Jan 1, 1970 10:10 AM )
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/actionhandler/BirtCacheParameterActionHandler.java
String dataType = DesignChoiceConstants.PARAM_TYPE_STRING;
				if ( paramValue != null && parameter != null )
				{
					try
					{
						String pattern = parameter.getPattern( );
						dataType = parameter.getDataType( );
						Object paramValueObj = ParameterValidationUtil
								.validate( dataType, pattern, paramValue,
										attrBean.getLocale( ) );
						
						
						if ( DesignChoiceConstants.PARAM_TYPE_STRING
								.equalsIgnoreCase( dataType ) )
						{
							pattern = null;
						}
						paramValue = ParameterValidationUtil.getDisplayValue(
								dataType, pattern, paramValueObj, ULocale.US );
					}
					catch ( Exception err )
					{
						paramValue = op[i].getValue( );
					}
					
					configVar.setName( paramName + "_" + parameter.getID( ) ); 
					configVar.setValue( paramValue );
					handle.addConfigVariable( configVar );