[turba] Birthdayfield

Christian Mimberg Maumi at gmx.de
Thu Mar 9 14:41:08 PST 2006


thanx works fine...

Christian

> --- Ursprüngliche Nachricht ---
> Von: Jan Schneider <jan at horde.org>
> An: turba at lists.horde.org
> Betreff: Re: [turba] Birthdayfield
> Datum: Thu, 09 Mar 2006 23:27:29 +0100
> 
> 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/
> 
> -- 
> Turba mailing list - Join the hunt: http://horde.org/bounties/#turba
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: turba-unsubscribe at lists.horde.org
> 

-- 
Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer!
Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer


More information about the turba mailing list