Closed chrigrahcisco closed 8 years ago
this looks good to me, thank you!
James, what is the process to have a new build of Validictory made available via pip so users can easily get these code changes via pip install validictory --upgrade
?
I'll do a new release, it'll be 1.0.2 on PyPI
Ohhh, my first pull request against a public repository. Fun!
Modified validate_format_date_time to continue to use datetime.strptime as opposed to attempting to import and leverage strict_rfc3339 which is what I've been doing locally. This should maintain the existing functionality as well as add support for mine where I'm getting MongoDB ISODates from my API with microseconds and need to validate it against schema date-time.
Also modified one existing and and added one new datetime testcase to clearly test against date-time with and without milliseconds.