[turba] Birthday before 1970 not saved
Wim
wim at gekkos.org
Thu Jul 20 04:21:19 PDT 2006
Jan Schneider wrote:
> Zitat von Wim <wim at gekkos.org>:
>
>> Jan Schneider schreef:
>>> 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.
>>>
>>
>>
>> Yes, I am running Horde 3.1.1 qnd Turba 2.1.1
>> I have a DATE field for birthdays
>>
>> +------------------------+--------------+------+------+---------+-------+
>> | Field | Type | Null | Key | Default | Extra |
>> +------------------------+--------------+------+------+---------+-------+
>> | object_birthday | date | YES | None | NULL |
>> |
>>
>> Dates after 01/01/1970 I can save.
>
> No idea then, it works fine here.
>
> Jan.
>
>
Anyone else an idea ??
More information about the turba
mailing list