[turba] Birthdayfield
Jan Schneider
jan at horde.org
Thu Mar 9 14:27:29 PST 2006
Zitat von Christian Mimberg <Maumi at gmx.de>:
> Hello,
>
> i have insert a field called "birtday" in turba. it is right shown in the
> adressbook, but
> when i change the date and save the contact. the date is allways 01.01.1970.
> I use a
> mysql-table the typ of the field is "date" (YYYY-MM-DD).
>
> What can i do to solve this bug...
Change the birthday field in attributes.php to:
$attributes['birthday'] = array(
'label' => _("Birthday"),
'type' => 'monthdayyear',
'params' => array(1900, null, true, '%Y-%m-%d'),
'required' => false,
);
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the turba
mailing list