mirror of https://github.com/apache/openjpa.git
[OPENJPA-2713] Fixing OffsetDateTime conversion
This commit is contained in:
parent
f228d2c259
commit
a605d872e5
|
@ -375,7 +375,7 @@ public class Filters {
|
|||
} else if (o instanceof java.util.Date) {
|
||||
return ((java.util.Date)o).toInstant().atZone(ZoneId.systemDefault()).toOffsetDateTime();
|
||||
} else if (o instanceof CharSequence) {
|
||||
return LocalTime.parse((CharSequence) o);
|
||||
return OffsetDateTime.parse((CharSequence) o);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue