jpmckinney / validictory

🎓 deprecated general purpose python data validator
Other
240 stars 57 forks source link

Support for ISO 8601 +/-00:00 time zone designator #37

Closed eisensheng closed 11 years ago

eisensheng commented 12 years ago

I need to specify a time zone in a field but the current validation strategy does not allow this. Can we have support for it please? Thanks!

jamesturk commented 12 years ago

this is probably best left as a custom type or custom format, you can implement a validatetype* or pass a custom format_validators passed to SchemaValidator

FrankBie commented 11 years ago

I have done it here. https://github.com/salesking/salesking_python_sdk/blob/master/salesking/utils/validators.py