add the braces

This commit is contained in:
jackyq2015 2017-12-20 13:30:38 -05:00
parent 136eba52df
commit 8b203a094d

View File

@ -198,7 +198,8 @@ public class ParsingUtilities {
if (s.endsWith("Z")) { // UTC time
Instant instant = Instant.parse(s);
return LocalDateTime.ofInstant(instant, ZoneId.systemDefault());
} else
} else {
return LocalDateTime.parse(s, DateTimeFormatter.ISO_LOCAL_DATE_TIME);
}
}
}