jonasschmidt / ex_json_schema

An Elixir JSON Schema validator
MIT License
366 stars 98 forks source link

Allow naive date-time to be a valid date-time format #67

Closed mrnovalles closed 3 years ago

mrnovalles commented 3 years ago

Ever since #64 was merged, when using NaiveDateTime for dates, JSON validations started failing. This commit allows for NaiveDateTime strings to be accepted as date-time ex_json schema formats.

coveralls commented 3 years ago

Coverage Status

Coverage decreased (-0.3%) to 94.659% when pulling f092366ac1db3fb75bd7b5e6b58290e53a1c1e4a on mrnovalles:naive-date-time into a71ad595e2748c5340532781a0b6ac7871d417dc on jonasschmidt:master.