Author: jleroux
Date: Mon Oct 29 14:22:40 2007
New Revision: 589862
URL:
http://svn.apache.org/viewvc?rev=589862&view=revLog:
A patch from Markus Stude "UtilDateTime.toDate(int, int, int, int, int, int) does not initialise milisecond part of created date" (
https://issues.apache.org/jira/browse/OFBIZ-1363) - OFBIZ-1363
Modified:
ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilDateTime.java
Modified: ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilDateTime.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilDateTime.java?rev=589862&r1=589861&r2=589862&view=diff==============================================================================
--- ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilDateTime.java (original)
+++ ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilDateTime.java Mon Oct 29 14:22:40 2007
@@ -581,6 +581,7 @@
try {
calendar.set(year, month - 1, day, hour, minute, second);
+ calendar.set(Calendar.MILLISECOND, 0);
} catch (Exception e) {
return null;
}