Hi Simon,

you have the possibility to overwrite preProcessData($data) in your
Form, there you have the possibility to rewrite the date youve got
into the hardcoded format.


On 24 Feb., 16:18, JF Simon <[email protected]> wrote:
> Hi
>
> I'm using validators on incoming SOAP requests.
> DateTime are encoded with the "W3C" format.
>
> Date / DateTime validators validates that validated propserty is a string
> representing a date / datetime.
> Format is hardcoded (YYYY-MM-DD / YYYY-mm-DD HH:MM:SS).
>
> Wouldn't it be smarter if format was an option ?
> So I could use them to validate my SOAP entities !
>
> Tell me what you think.
> I could send a pull request.

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" 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-devs?hl=en

Reply via email to