We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d1b442 commit b8f7a30Copy full SHA for b8f7a30
spring-context/src/test/java/org/springframework/format/datetime/standard/DateTimeFormattingTests.java
@@ -288,7 +288,7 @@ public void testBindInstant() {
288
propertyValues.add("instant", "2009-10-31T12:00:00.000Z");
289
binder.bind(propertyValues);
290
assertEquals(0, binder.getBindingResult().getErrorCount());
291
- assertEquals("2009-10-31T12:00Z", binder.getBindingResult().getFieldValue("instant"));
+ assertTrue(binder.getBindingResult().getFieldValue("instant").toString().startsWith("2009-10-31T12:00"));
292
}
293
294
0 commit comments