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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user