Bug 188835 "1970-01-01" is added before the value when filter key is Time type[00]
"1970-01-01" is added before the value when filter key is Time type[00] Build number: 2.2.0.v20070524-0630 Steps to reproduce: 1.Open attached report design 2.Open the data set and add a filter: key:row["time"] Operator:Equal Open the "Select value" Expected result: Just Time type values are displayed Actual result: "1970-01-01" is added before the filter value,like:"1970-01-01 00:22:31.0" Error log: N/A
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/SelectValueDialog.java
import java.util.Collection;
import java.util.Date;
import java.util.Iterator;
import org.eclipse.birt.core.data.DataTypeUtil;
import org.eclipse.birt.core.format.DateFormatter;
import org.eclipse.birt.core.script.JavascriptEvalUtil;
import org.eclipse.birt.report.designer.internal.ui.dialogs.BaseDialog;
import org.eclipse.birt.report.designer.internal.ui.util.ExceptionHandler;
import org.eclipse.birt.report.designer.nls.Messages;
import org.eclipse.birt.report.model.api.ParamBindingHandle;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.MouseAdapter;
import org.eclipse.swt.events.MouseEvent;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.List;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.PlatformUI;
import com.ibm.icu.util.ULocale;
/**
 * This dialog takes an expression and a data set and shows a list of unique
 * values for selection from the data set. It allows both multiple and single
 * selection. The default is single selection.
 * 
 * @version $Revision: 1.20 $ $Date: 2007/03/07 03:11:49 $
 */
public class SelectValueDialog extends BaseDialog