[jOOQ/jOOQ#12545] Lenient support for H2's time zone format

This commit is contained in:
Lukas Eder 2021-10-22 11:35:43 +02:00
parent 11425c8a73
commit 3886fdd679

View File

@ -1062,7 +1062,7 @@ final class Convert {
}
catch (IllegalArgumentException e1) {
try {
return (U) Instant.parse(patchIso8601Timestamp((String) from, true));
return (U) OffsetDateTime.parse(patchIso8601Timestamp((String) from, true)).toInstant();
}
catch (DateTimeParseException e2) {
return null;