[turba] Birthday before 1970 not saved
Jan Schneider
jan at horde.org
Sat Jul 15 05:44:09 PDT 2006
Zitat von Wim <wim at gekkos.org>:
> Hello,
> I have insert a field called "birtday" in turba. it is right shown
> in the adressbook, but when I try to save a date before 01 January
> 1970I got 0000-00-00 in the database field.
> A date after 01 January 1970 works fine.
>
> In attributes.php I have the field configured like:
>
> $attributes['birthday'] = array(
> 'label' => _("Birthday"),
> 'type' => 'monthdayyear',
> 'params' => array(1900, null, true, '%Y-%m-%d'),
> 'required' => false,
> );
>
> Anyone an idea why this happen??
Are you sure that you are running the latest Turba version and that
you have a DATE field for birthdays in your database?
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the turba
mailing list