From 63341d4bcbb03a45141a53edd8e157e1225ce8e4 Mon Sep 17 00:00:00 2001 From: Mark Furneaux Date: Fri, 3 Nov 2017 15:04:48 -0400 Subject: [PATCH] Add new date formats (#653) --- src/main/java/com/dabsquared/gitlabjenkins/util/JsonUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/dabsquared/gitlabjenkins/util/JsonUtil.java b/src/main/java/com/dabsquared/gitlabjenkins/util/JsonUtil.java index ccff999..e865d81 100644 --- a/src/main/java/com/dabsquared/gitlabjenkins/util/JsonUtil.java +++ b/src/main/java/com/dabsquared/gitlabjenkins/util/JsonUtil.java @@ -46,7 +46,7 @@ public final class JsonUtil { private static class DateModule extends SimpleModule { private static final String[] DATE_FORMATS = new String[] { - "yyyy-MM-dd HH:mm:ss Z", "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", "yyyy-MM-dd'T'HH:mm:ssX" + "yyyy-MM-dd HH:mm:ss Z", "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", "yyyy-MM-dd'T'HH:mm:ssX", "yyyy-MM-dd'T'HH:mm:ss.SSSX", "yyyy-MM-dd'T'HH:mm:ss.SSSZ" }; private DateModule() {