From 8b203a094ded10561bab410658a823aefa9b99aa Mon Sep 17 00:00:00 2001 From: jackyq2015 Date: Wed, 20 Dec 2017 13:30:38 -0500 Subject: [PATCH] add the braces --- main/src/com/google/refine/util/ParsingUtilities.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/src/com/google/refine/util/ParsingUtilities.java b/main/src/com/google/refine/util/ParsingUtilities.java index 1fa422c9e..a4f56e445 100644 --- a/main/src/com/google/refine/util/ParsingUtilities.java +++ b/main/src/com/google/refine/util/ParsingUtilities.java @@ -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); + } } }