From 1391810719e88a2ab0fdfa5ce333cb7df1f482cf Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Tue, 10 Jul 2007 04:45:56 +0000 Subject: [PATCH] Fix Bug [ 1750263 ] 2Pack i18n issue --- base/src/org/adempiere/pipo/PackRoll.java | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/base/src/org/adempiere/pipo/PackRoll.java b/base/src/org/adempiere/pipo/PackRoll.java index 4641f01e3d..778c8dcb0a 100644 --- a/base/src/org/adempiere/pipo/PackRoll.java +++ b/base/src/org/adempiere/pipo/PackRoll.java @@ -206,30 +206,19 @@ public class PackRoll extends SvrProcess { // Update "Updated" field with current date else if (columnName.equals("Updated")) { // Format Date - // TODO Correct to include proper time of - // update - Date today = new Date(); - SimpleDateFormat formatter = new SimpleDateFormat( - "dd-MMM-yyyy"); - String colDate = formatter.format(today); sqlC = new StringBuffer("UPDATE " + tableName + " SET " + columnName - + " = '" + colDate + "' WHERE " + + " = SYSDATE WHERE " + columnIDName + " = " + recordID); - no = DB - .executeUpdate(sqlC.toString(), - null); + no = DB.executeUpdate(sqlC.toString(), null); // Update uninstall field sqlD = new StringBuffer( "UPDATE AD_Package_Imp_Backup" + " SET Uninstall = 'Y'" + " WHERE AD_Package_Imp_Backup_ID = " - + rs2 - .getInt("AD_Package_Imp_Backup_ID")); - no = DB - .executeUpdate(sqlD.toString(), - null); + + rs2.getInt("AD_Package_Imp_Backup_ID")); + no = DB.executeUpdate(sqlD.toString(), null); } // Update "UpdatedBy" field with current user else if (columnName.equals("UpdatedBy")) {