Perhaps first place to look is your own data structures. are you using
timestamp on the database? Have you defined the birthdate as a timestamp
yourself?

On Thu, May 28, 2009 at 9:52 AM, Olivier Revollat <[email protected]>wrote:

> 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...
>
>
>
> >
>


-- 
Gareth McCumskey
http://garethmccumskey.blogspot.com
twitter: @garethmcc

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to