Author: jleroux
Date: Mon Oct 29 14:24:28 2007
New Revision: 589863
URL:
http://svn.apache.org/viewvc?rev=589863&view=revLog:
Applied fix from trunk for revision: 589862
Modified:
ofbiz/branches/release4.0/framework/base/src/base/org/ofbiz/base/util/UtilDateTime.java
Modified: ofbiz/branches/release4.0/framework/base/src/base/org/ofbiz/base/util/UtilDateTime.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release4.0/framework/base/src/base/org/ofbiz/base/util/UtilDateTime.java?rev=589863&r1=589862&r2=589863&view=diff==============================================================================
--- ofbiz/branches/release4.0/framework/base/src/base/org/ofbiz/base/util/UtilDateTime.java (original)
+++ ofbiz/branches/release4.0/framework/base/src/base/org/ofbiz/base/util/UtilDateTime.java Mon Oct 29 14:24:28 2007
@@ -609,6 +609,7 @@
try {
calendar.set(year, month - 1, day, hour, minute, second);
+ calendar.set(Calendar.MILLISECOND, 0);
} catch (Exception e) {
return null;
}