diff --git a/parser/src/json/formats.rs b/parser/src/json/formats.rs index 7ee7ee2..b0c3d83 100644 --- a/parser/src/json/formats.rs +++ b/parser/src/json/formats.rs @@ -1,12 +1,31 @@ pub fn lookup_format(name: &str) -> Option<&str> { let r = match name { - "date-time" => { - r"^(?P[0-9]{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12][0-9]|3[01]))[tT](?P