[symfony-users] Re: sfValidatorDate in sf1.3/14 ?

2009-11-28 Thread goofy
No error i always get the today date …

Ex : type 27/11/09 - 2009-11-28 ( i try in two different module with
differents forms)

On 28 nov, 01:33, Alexandre SALOME alexandre.sal...@gmail.com wrote:
 What's the outputed error ?

 2009/11/27 goofy goofy.m...@gmail.com



  Hi,

  after migration 1.2 to 1.3, ny sfvalidatordate dont work anymore and i
  cant find solution : I just want to type dd/mm/yy and get it in mysql
  format :

  new sfValidatorDate(array(
         'date_format' = '/^(\d{2})\/(\d{2})\/(\d{2})/',
         'date_output'='Y-m-d',
  'with_time' = false, 'required' = true)),

  --

  You received this message because you are subscribed to the Google Groups
  symfony users group.
  To post to this group, send email to symfony-us...@googlegroups.com.
  To unsubscribe from this group, send email to
  symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en.

 --
 Alexandre Salomé -- alexandre.sal...@gmail.com

--

You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




[symfony-users] sfValidatorDate in sf1.3/14 ?

2009-11-27 Thread goofy
Hi,

after migration 1.2 to 1.3, ny sfvalidatordate dont work anymore and i
cant find solution : I just want to type dd/mm/yy and get it in mysql
format :

new sfValidatorDate(array(
'date_format' = '/^(\d{2})\/(\d{2})\/(\d{2})/',
'date_output'='Y-m-d',
'with_time' = false, 'required' = true)),

--

You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.