diff --git a/org.adempiere.base/src/org/adempiere/impexp/GridTabCSVExporter.java b/org.adempiere.base/src/org/adempiere/impexp/GridTabCSVExporter.java index d0bf8d3c8c..0b3a059a62 100644 --- a/org.adempiere.base/src/org/adempiere/impexp/GridTabCSVExporter.java +++ b/org.adempiere.base/src/org/adempiere/impexp/GridTabCSVExporter.java @@ -114,7 +114,7 @@ public class GridTabCSVExporter implements IGridTabExporter } else if (DisplayType.DateTime == field.getDisplayType()) { procArray.add(new Optional(new FmtDate(DisplayType.DEFAULT_TIMESTAMP_FORMAT))); } else if (DisplayType.Time == field.getDisplayType()) { - procArray.add(new Optional(new FmtDate("DisplayType.DEFAULT_TIME_FORMAT"))); + procArray.add(new Optional(new FmtDate(DisplayType.DEFAULT_TIME_FORMAT))); } else if (DisplayType.Integer == field.getDisplayType() || DisplayType.isNumeric(field.getDisplayType())) { DecimalFormat nf = DisplayType.getNumberFormat(field.getDisplayType()); nf.setGroupingUsed(false); @@ -178,7 +178,7 @@ public class GridTabCSVExporter implements IGridTabExporter } else if (DisplayType.DateTime == field.getDisplayType()) { procArray.add(new Optional(new FmtDate(DisplayType.DEFAULT_TIMESTAMP_FORMAT))); } else if (DisplayType.Time == field.getDisplayType()) { - procArray.add(new Optional(new FmtDate("DisplayType.DEFAULT_TIME_FORMAT"))); + procArray.add(new Optional(new FmtDate(DisplayType.DEFAULT_TIME_FORMAT))); } else if (DisplayType.Integer == field.getDisplayType() || DisplayType.isNumeric(field.getDisplayType())) { DecimalFormat nf = DisplayType.getNumberFormat(field.getDisplayType()); nf.setGroupingUsed(false); diff --git a/org.adempiere.base/src/org/adempiere/impexp/GridTabCSVImporter.java b/org.adempiere.base/src/org/adempiere/impexp/GridTabCSVImporter.java index c7c7c23920..4218dba5f1 100644 --- a/org.adempiere.base/src/org/adempiere/impexp/GridTabCSVImporter.java +++ b/org.adempiere.base/src/org/adempiere/impexp/GridTabCSVImporter.java @@ -1134,7 +1134,7 @@ public class GridTabCSVImporter implements IGridTabImporter } else if (DisplayType.DateTime == field.getDisplayType()) { return (new Optional(new ParseDate(DisplayType.DEFAULT_TIMESTAMP_FORMAT))); } else if (DisplayType.Time == field.getDisplayType()) { - return (new Optional(new ParseDate("DisplayType.DEFAULT_TIME_FORMAT"))); + return (new Optional(new ParseDate(DisplayType.DEFAULT_TIME_FORMAT))); } else if (DisplayType.Integer == field.getDisplayType()) { return (new Optional(new ParseInt())); } else if (DisplayType.isNumeric(field.getDisplayType())) {