[#5180] Added issue reference to comment
This commit is contained in:
parent
854a70fd2c
commit
7329d23b7a
@ -1485,8 +1485,8 @@ public class DefaultBinding<T, U> implements Binding<T, U> {
|
||||
if (string == null)
|
||||
return null;
|
||||
|
||||
// [#4338] PostgreSQL is more lenient regarding the offset format
|
||||
if (string.lastIndexOf('+') == string.length() - 3)
|
||||
// [#4338] [#5180] PostgreSQL is more lenient regarding the offset format
|
||||
if (string.lastIndexOf('+') == string.length() - 3 || string.lastIndexOf('-') == string.length() - 3)
|
||||
string = string + ":00";
|
||||
|
||||
return OffsetTime.parse(string);
|
||||
@ -1496,8 +1496,8 @@ public class DefaultBinding<T, U> implements Binding<T, U> {
|
||||
if (string == null)
|
||||
return null;
|
||||
|
||||
// [#4338] PostgreSQL is more lenient regarding the offset format
|
||||
if (string.lastIndexOf('+') == string.length() - 3)
|
||||
// [#4338] [#5180] PostgreSQL is more lenient regarding the offset format
|
||||
if (string.lastIndexOf('+') == string.length() - 3 || string.lastIndexOf('-') == string.length() - 3)
|
||||
string = string + ":00";
|
||||
|
||||
// [#4338] SQL supports the alternative ISO 8601 date format, where a
|
||||
|
||||
Loading…
Reference in New Issue
Block a user