naimetti / rfc3339-validator

A pure python RFC3339 validator
MIT License
8 stars 11 forks source link
datetime rfc3339 validator

rfc3339-validator

A pure python RFC3339 validator

image Build Status

Install

pip install rfc3339-validator

Usage

from rfc3339_validator import validate_rfc3339

validate_rfc3339('1424-45-93T15:32:12.9023368Z')
>>> False

validate_rfc3339('2001-10-23T15:32:12.9023368Z')
>>> True