[turba] Birthday before 1970 not saved
Jeff Graves
jeff at image-src.com
Thu Aug 3 12:04:56 PDT 2006
Grabbing at straws here but does it have something to do with
localization??? Maybe you're entering the date 01-01-1970 (for 01 Jan 1970)
and the systems thinks (Jan 01 1970) so when you do 31-12-1969 (it thinks
month 31 day 12 year 1969)??? Or some variation of that...
--
Jeff Graves, MCSA
Image Source, Inc.
508.966.5200 x31
www.image-src.com
-----Original Message-----
From: turba-bounces at lists.horde.org [mailto:turba-bounces at lists.horde.org]
On Behalf Of Wim
Sent: Thursday, August 03, 2006 12:26 PM
To: turba at lists.horde.org
Subject: [turba] Birthday before 1970 not saved
Please anyone an idea about this ??
Thanks
Wim wrote:
> 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 ??
>
--
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
More information about the turba
mailing list