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 7114855 commit 66fa314Copy full SHA for 66fa314
src/main/java/com/networknt/schema/DateTimeValidator.java
@@ -31,9 +31,6 @@
31
public class DateTimeValidator extends BaseJsonValidator implements JsonValidator {
32
private static final Logger logger = LoggerFactory.getLogger(DateTimeValidator.class);
33
34
- private final String DATE = "date";
35
- private final String DATE_TIME = "date-time";
36
-
37
private static final Pattern RFC3339_PATTERN = Pattern.compile(
38
"^(\\d{4})-(\\d{2})-(\\d{2})" // yyyy-MM-dd
39
+ "([Tt](\\d{2}):(\\d{2}):(\\d{2})(\\.\\d+)?)?" // 'T'HH:mm:ss.milliseconds
0 commit comments