Author: apatel
Date: Wed Jul 25 20:41:57 2007
New Revision: 559682
URL:
http://svn.apache.org/viewvc?view=rev&rev=559682Log:
date format fix.
Modified:
ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisInventoryServices.java
Modified: ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisInventoryServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisInventoryServices.java?view=diff&rev=559682&r1=559681&r2=559682==============================================================================
--- ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisInventoryServices.java (original)
+++ ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisInventoryServices.java Wed Jul 25 20:41:57 2007
@@ -379,7 +379,7 @@
}
String datetimeReceived = UtilXml.childElementValue(receiptLnElement, "os:DATETIMEISO");
- SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSS'Z'Z");
+ SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSS'Z'");
Timestamp timestamp = null;
try {
timestamp = new Timestamp( sdf.parse(datetimeReceived ).getTime() );