jonasschmidt / ex_json_schema

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

Use NaiveDatetime as parsing module for date-time format #68

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 remained the same at 94.925% when pulling 3e263aadf19c872b6923746436f5d6b169a6344c on mrnovalles:format-naive-date-time into a71ad595e2748c5340532781a0b6ac7871d417dc on jonasschmidt:master.

jonasschmidt commented 3 years ago

Published as https://hex.pm/packages/ex_json_schema/0.9.1 🚀 🚢