[turba] Problems with Birthday before 1970

Jan Schneider jan at horde.org
Thu Mar 22 11:29:04 UTC 2007


Zitat von Christian Mimberg <Maumi at gmx.de>:

> Hello Jan,
>
> I use:
>
> phpMyAdmin - 2.9.1.1
> Database: SQL

This is not a database system name. But since you use phpMyAdmin, I  
assume you are running MySQL.

> Type of Field: Date
>
> $attributes['birthday'] = array(
>     'label' => _("Birthday"),
>     'type' => 'monthdayyear',
>     'params' => array(1900, null, true, '%Y-%m-%d'),
>     'required' => false,
> );

Works perfectly with this setup here.

> -------- Original-Nachricht --------
> Datum: Thu, 22 Mar 2007 00:38:10 +0100
> Von: Jan Schneider <jan at horde.org>
> An: turba at lists.horde.org
> Betreff: Re: [turba] Problems with Birthday before 1970
>
>> Zitat von Christian Mimberg <Maumi at gmx.de>:
>>
>> > Hello everybody,
>> >
>> > my System:
>> >
>> > PHP Version: 4.4.2
>> > Horde: 3.1.4
>> > Turba H3 2.1.4
>> >
>> > My Problem:
>> >
>> > I can not save a Birtday before 1970-01-01. If i try this, turba
>> > saves 1969-12-31. I set the param-string in attributes.php like this:
>> >
>> >  'params' => array(1900, null, true, '%Y-%m-%d'),
>>
>> What's the 'type', which backend do you use, how did you setup the
>> birthday field in your backend etc.
>> Works perfectly here btw.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the turba mailing list