I have the following widget in a form:
$this->setWidget('birthdate_at', new sfWidgetFormI18nDate(array('culture' =>
sfContext::getInstance()->getUser()->getCulture(), 'format' =>
'%day%/%month%/%year%', 'years'  => $years)));

And my database field is :
    birthdate_at:
      type: DATE

But When I enter 17 january 1967 I have 2032-01-17 in my database ... I
think it's because the date is converted in timestamp during the process so
it cannot manage date before 01/01/1970 ...
How can I save my date properly ?

Thanks for your help...

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@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
-~----------~----~----~----~------~----~------~--~---

Reply via email to