Added a FIXME note for a bug introduced in revision 1089946.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1513195 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adrian Crum
2013-08-12 16:55:57 +00:00
parent bf6c2c77e7
commit 2eb8a4ddfb
@@ -644,6 +644,10 @@ public class DateTimeConverters implements ConverterLoader {
try {
return new java.sql.Timestamp(df.parse(str).getTime());
} catch (ParseException e) {
// FIXME: This change needs to be reverted. The Timestamp format is
// defined by the JDBC specification. Passing an invalid format is an
// application error and the application needs to be fixed.
//
// before throwing an exception, try a generic format first
df = DateFormat.getDateTimeInstance();
if (timeZone != null) {