Closed
Description
What do you think about deprecating the Date
and Time
constraints in favor of add a format
option to the DateTime
constraint.
We can do that using the DateTime::createFromFormat()
and DateTime::getLastErrors()
to check if a date is valid based on a specific format.
What do you think? Can be this discussed?