[prev in list] [next in list] [prev in thread] [next in thread] 

List:       turba
Subject:    Re: [turba] Birthdayfield
From:       "Christian Mimberg" <Maumi () gmx ! de>
Date:       2006-03-09 22:41:08
Message-ID: 17528.1141944068 () www056 ! gmx ! net
[Download RAW message or body]

thanx works fine...

Christian

> --- Ursprüngliche Nachricht ---
> Von: Jan Schneider <jan@horde.org>
> An: turba@lists.horde.org
> Betreff: Re: [turba] Birthdayfield
> Datum: Thu, 09 Mar 2006 23:27:29 +0100
> 
> Zitat von Christian Mimberg <Maumi@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@lists.horde.org
> 

-- 
Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer!
Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer
-- 
Turba mailing list - Join the hunt: http://horde.org/bounties/#turba
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: turba-unsubscribe@lists.horde.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic