#1652 - Conversion problem between org.joda.time.LocalDate and java.sql.Date field for dates before Jan 2 1900

This commit is contained in:
rob bygrave committed 2019-03-14 16:08:04 +13:00
1 parent 435e1f61fe
commit 409c1d06b2
4 files changed
+53 -13

No files matched your search

@@ -27,7 +27,7 @@ public class ScalarTypeJodaLocalDate extends ScalarTypeBaseDate<LocalDate> {
@Override
public LocalDate convertFromDate(Date date) {
return new LocalDate(date.getTime());
return LocalDate.fromDateFields(date);
}
@Override