svn commit: r896504 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilHttp.java

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

svn commit: r896504 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilHttp.java

erwan
Author: erwan
Date: Wed Jan  6 16:20:27 2010
New Revision: 896504

URL: http://svn.apache.org/viewvc?rev=896504&view=rev
Log:
Creating a calendar event was starting at 12:00 even if selecting a start time before

Modified:
    ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilHttp.java

Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilHttp.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilHttp.java?rev=896504&r1=896503&r2=896504&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilHttp.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilHttp.java Wed Jan  6 16:20:27 2010
@@ -1204,7 +1204,7 @@
             if (date == null || date.length() < 10) return null;
             if (UtilValidate.isEmpty(hour)) return null;
             if (UtilValidate.isEmpty(minutes)) return null;
-            boolean isTwelveHour = UtilValidate.isEmpty(ampm);
+            boolean isTwelveHour = UtilValidate.isNotEmpty(ampm);
 
             // create the timestamp from the data
             try {