[OPENJPA-2713] Fixing OffsetDateTime conversion

This commit is contained in:
Francesco Chicchiriccò 2022-03-10 10:49:13 +01:00
parent f228d2c259
commit a605d872e5
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}