diff --git a/components/src/test/java/com/constantcontact/v2/QueryDateTests.java b/components/src/test/java/com/constantcontact/v2/QueryDateTests.java index 02907c56..b02edb39 100644 --- a/components/src/test/java/com/constantcontact/v2/QueryDateTests.java +++ b/components/src/test/java/com/constantcontact/v2/QueryDateTests.java @@ -12,8 +12,8 @@ public class QueryDateTests { @Test public void test24HourDateConversions() { - ZonedDateTime date = ZonedDateTime.parse("2018-06-04T09:07:30-04:00Z"); + ZonedDateTime date = ZonedDateTime.parse("2018-06-04T09:07:30-04:00"); QueryDate qd = new QueryDate(date.toInstant().toEpochMilli()); - assertThat(qd.toString().indexOf("2018-06-04T13:07:30:00Z"), not(equalTo(-1))); + assertThat(qd.toString().indexOf("2018-06-04T13:07:30.00Z"), not(equalTo(-1))); } }