I have such validation rule
['birthdate', 'date', 'format' => 'Y-m-d'],
and passing such value 2002-03-11
, but recive validation error The format of Birthdate is invalid.
What am I doing wrong?
I have such validation rule
['birthdate', 'date', 'format' => 'Y-m-d'],
and passing such value 2002-03-11
, but recive validation error The format of Birthdate is invalid.
What am I doing wrong?
I have installed
intl
extenstion. It has fixed an issue.