I have YII-1.1.12.b600af. Why would date validation not print its error message?
Other validators are working fine.
Do I have to convert a date string after input into some datetime format?
my table model rule:
array( ‘dateBirth’, ‘date’, ‘format’=>array( ‘yyyy/MM/dd’, ‘yyyy-MM-dd’), ‘message’=>‘Invalid Birth Date. Format: yyyy/mm/dd.’),
Thanks for any tips!