Yohan 'rouKs' G. wrote:
> I use the sfValidatorDate in my project and I need to validate a french
> date (d-m-Y).
> My problem is that the sfValidatorDate take a regex as date_format
> parameter...
>
> What kind of regex should I give to this validator ?
got the same issue...
try: @(?P<day>\d{2}).(?P<month>\d{2}).(?P<year>\d{4})@
Best regards
Christoph Hautzinger
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---