Title: [635] trunk/activerecord-jdbc/src/java/JdbcAdapterInternalService.java: Stupid mistake
- Revision
- 635
- Author
- olabini
- Date
- 2007-06-18 07:00:33 -0400 (Mon, 18 Jun 2007)
Log Message
Stupid mistake
Modified Paths
Diff
Modified: trunk/activerecord-jdbc/src/java/JdbcAdapterInternalService.java (634 => 635)
--- trunk/activerecord-jdbc/src/java/JdbcAdapterInternalService.java 2007-06-18 10:57:58 UTC (rev 634)
+++ trunk/activerecord-jdbc/src/java/JdbcAdapterInternalService.java 2007-06-18 11:00:33 UTC (rev 635)
@@ -653,9 +653,8 @@
}
}
- private final static DateFormat FORMAT = new SimpleDateFormat("%Y-%M-%d %H:%m:%s");
+ private final static DateFormat FORMAT = new SimpleDateFormat("%y-%M-%d %H:%m:%s");
-
private static void setValue(PreparedStatement ps, int index, Ruby runtime, IRubyObject value, IRubyObject type) throws SQLException {
final int tp = getTypeValueFor(runtime, type);
if(value.isNil()) {
_______________________________________________
Jruby-extras-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/jruby-extras-devel