Bug 162713 [regression]Parameter value changed when set Medium Date format and preview in Layout
Description: Parameter value changed when set Medium Date format and preview in Layout Test environment: Eclipse3.2.1 Preference locale: Hebrew Steps to reproduce: 1. New a report parameter, datetime type, input default value as 03/20/2005 12:00:00 AM, set format as Medium Date. 2. Drag it to Layout and preview in Layout. Expected result: 00:00 03/20/2006 Actual result: 00:00 03/08/2006 Error logs: none
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/context/ViewerAttributeBean.java
InputOptions options = new InputOptions( );
		options.setOption( InputOptions.OPT_REQUEST, request );
		options.setOption( InputOptions.OPT_LOCALE, locale );
		options.setOption( InputOptions.OPT_RTL, new Boolean( rtl ) );
		
		Collection parameterList = getParameterList( );
		
		if ( this.isDesigner
				&& !IBirtConstants.SERVLET_PATH_FRAMESET
						.equalsIgnoreCase( request.getServletPath( ) ) )
			parseConfigVars( request, parameterList );
		
		this.parametersAsString = getParsedParametersAsString( parameterList,
				request, options );
		
		this.parameterDefList = getReportService( ).getParameterDefinitions(
				this.reportDesignHandle, options, false );
		
		if ( documentInUrl )
			this.missingParameter = false;
		else
			this.missingParameter = validateParameters( parameterDefList,
					this.parametersAsString );
		
		this.parametersAsString = getParsedParametersAsStringWithDefaultValue(
				this.parametersAsString, request, options );
		
		this.parameters = (HashMap) getParsedParameters(
				this.reportDesignHandle, parameterList, request, options );