From b7516a7e6c31cb70966ca13259daec6f950c584f Mon Sep 17 00:00:00 2001 From: Mathieu Rochette Date: Thu, 4 Feb 2016 14:31:40 +0100 Subject: [PATCH] Add a test to show a bug on the date-time format constraint checker --- tests/JsonSchema/Tests/Constraints/FormatTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/JsonSchema/Tests/Constraints/FormatTest.php b/tests/JsonSchema/Tests/Constraints/FormatTest.php index eb47983d..0f3f31a4 100644 --- a/tests/JsonSchema/Tests/Constraints/FormatTest.php +++ b/tests/JsonSchema/Tests/Constraints/FormatTest.php @@ -81,6 +81,7 @@ public function getValidFormats() array('2000-05-01T12:12:12+01:00', 'date-time'), array('2000-05-01T12:12:12.123456Z', 'date-time'), array('2000-05-01T12:12:12.123Z', 'date-time'), + array('2000-05-01T12:12:12.000Z', 'date-time'), array('0', 'utc-millisec'),