[turba] Date fields in Turba
Jan Schneider
jan at horde.org
Tue Jun 17 16:37:29 PDT 2003
Zitat von James Van Sickle <gothbert at spamcop.net>:
> Hey
>
> I am working with the CVS Turba and Horde, which is using a MySQL
> database as
> the backend. I created a new date field and added it to the attribute
> and
> sources PHP files. No matter what format I save values into this field,
> it
> only displays data as "Wed Dec 31 16:32:56 1969 (12222 days ago)." Here
> is how
> I setup the date field in the attribute.php file:
>
> $attributes['birthDate'] = array(
> 'label' => _("Birth Date"),
> 'type' => 'date',
> 'required' => false
> );
>
> Could anyone let me know how I can get the date field to show up
> properly on
> an address book entry display?
Do you have a matching row in sources.php and your sql table?
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft
More information about the turba
mailing list