Open CSenshi opened 4 years ago
Write rule that validates data to be date. If data is already datetime class return true. For strings check if it's correctly formatted.
Description: "The field under validation must be a valid date string or class"
Please see CONTRIBUTING.md for Contribution details :100:
Suggestion: urllib provides parser for urls, you can use it if you want. from urllib.parse import urlparse Try to parse url, if error occurs return False
from urllib.parse import urlparse
I would like to work on that
Write rule that validates data to be date. If data is already datetime class return true. For strings check if it's correctly formatted.
Description: "The field under validation must be a valid date string or class"
Please see CONTRIBUTING.md for Contribution details :100: