svn commit: r589863 - /ofbiz/branches/release4.0/framework/base/src/base/org/ofbiz/base/util/UtilDateTime.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r589863 - /ofbiz/branches/release4.0/framework/base/src/base/org/ofbiz/base/util/UtilDateTime.java

jleroux@apache.org
Author: jleroux
Date: Mon Oct 29 14:24:28 2007
New Revision: 589863

URL: http://svn.apache.org/viewvc?rev=589863&view=rev
Log:
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;
         }