Fix stringToLocalDate for non-GMT timezones
This commit is contained in:
parent
44c43253a1
commit
cf58092f2d
@ -229,7 +229,8 @@ public class ParsingUtilities {
|
||||
if (parsed == null) {
|
||||
return null;
|
||||
}
|
||||
return parsed.toLocalDateTime();
|
||||
return parsed.withOffsetSameInstant(OffsetDateTime.now().getOffset())
|
||||
.toLocalDateTime();
|
||||
}
|
||||
|
||||
static public String instantToString(Instant instant) {
|
||||
|
Loading…
Reference in New Issue
Block a user